-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed as not planned
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
8.54.0
Framework Version
@trpc/[email protected]
Link to Sentry event
https://permitflow.sentry.io/traces/?project=4504595707396096&statsPeriod=1h
Reproduction Example/SDK Setup
Steps to Reproduce
import * as Sentry from "@sentry/node"
import { nodeProfilingIntegration } from "@sentry/profiling-node"
const isProduction = process.env.NODE_ENV === "production"
const dsn = process.env.SENTRY_DSN
Sentry.init({
environment: isProduction ? "prod" : "dev",
enabled: isProduction,
debug: false,
dsn: dsn,
integrations: [nodeProfilingIntegration(), Sentry.prismaIntegration()],
tracesSampleRate: 0.01,
profilesSampleRate: 1.0, // This is relative to tracesSampleRate
ignoreErrors: [
"User does not have permission",
"User is not a member of this workspace",
/BAD_REQUEST|TOO_MANY_REQUESTS|UNAUTHORIZED|FORBIDDEN|NOT_FOUND/,
],
// https://github.com/getsentry/sentry-javascript/issues/14846#issuecomment-2619573310
registerEsmLoaderHooks: {
onlyIncludeInstrumentedModules: true,
},
})Add to a Fastify/tRPC instance.
Expected Result
We can see the procedure names.
Actual Result
GET /trpc/:path
kirill-salikhov and daxaxelrod
Metadata
Metadata
Assignees
Projects
Status
Waiting for: Community
