feat(tanstackstart-react): Auto-instrument server function middleware#19001
feat(tanstackstart-react): Auto-instrument server function middleware#19001nicohrubec merged 18 commits intodevelopfrom
Conversation
e856eba to
a910011
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
packages/tanstackstart-react/src/vite/autoInstrumentMiddleware.ts
Outdated
Show resolved
Hide resolved
node-overhead report 🧳Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.
|
Codecov Results 📊Generated by Codecov Action |
JPeer264
left a comment
There was a problem hiding this comment.
Pretty nice adaptions. One tiny comment though
| - **feat(tanstackstart-react): Auto-instrument request middleware ([#18989](https://github.com/getsentry/sentry-javascript/pull/18989))** | ||
|
|
||
| The `sentryTanstackStart` Vite plugin now automatically instruments `middleware` arrays in `createFileRoute()`. This captures performance data without requiring manual wrapping with `wrapMiddlewaresWithSentry()`. | ||
| The `sentryTanstackStart` Vite plugin now automatically instruments `middleware` arrays in `createFileRoute()`. This captures performance data without requiring manual wrapping with `wrapMiddlewaresWithSentry()`. |
There was a problem hiding this comment.
m: I think these whitespaces got added by accident
There was a problem hiding this comment.
no actually, this was wrongly formatted (we always have the following paragraphs after the feature title indented with two spaces)
|
Thanks for this! @nicohrubec |
Extending auto-instrumentation to non-global server function middleware.
TSS function middleware docs
Closes #18847