-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
9.39
Framework Version
Next.js 15.3
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
TRPC is being used with SSR and CSR.
const sentryMiddleware = t.middleware(Sentry.trpcMiddleware()) // tried with all input options
export const procedure = t.procedure.use(sentryMiddleware)
Expected Result
I see no traces tagged as TRPC spans, neither the server-side nor the client-side.
Actual Result
These prisma:client:operation spans should be wrapped in a TRPC operation because they are being initiated through one.

Metadata
Metadata
Assignees
Projects
Status
No status