Skip to content

feat(tanstackstart): Add passthrough entrypoints for instrumentation #15539

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 3, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
stream handler
  • Loading branch information
Luca Forstner committed Feb 28, 2025
commit ba2d3b681d50ef80f3e183cc49c79d461a8e9c87
7 changes: 7 additions & 0 deletions packages/tanstackstart/src/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,10 @@ export function sentryGlobalServerMiddlewareHandler() {
return server.next();
};
}

/**
* Wraps a TanStack Start stream handler with Sentry instrumentation that can be passed to `createStartHandler(...)`.
*/
export function wrapStreamHandlerWithSentry<H>(handler: H): H {
return handler;
}
Loading