Package + Version
- [ x ]
@sentry/integrations - ^5.27.3 - [ x ]
@sentry/node - ^5.27.3 - [ x ]
@sentry/tracing - ^5.29.2
Description
I want to use the Postgres Tracing Integrations mentioned in these docs: https://docs.sentry.io/platforms/node/performance/database/
But for some reason, it does not work.
I'm using Prisma to do my Postgres queries: https://github.com/prisma/prisma
Underlying, Prisma is using the pg client package: https://github.com/prisma/prisma/blob/master/src/packages/client/src/utils/setupPostgres.ts
My code looks like this:
Sentry.init({dsn: '***',environment: env,integrations: [newExtraErrorData({depth: 20}),app&&newSentry.Integrations.Http({tracing: true}),app&&newTracing.Integrations.Express({ app }),// Only works with pg client. Wait on support for Prismaapp&&newTracing.Integrations.Postgres(),].filter(Boolean),tracesSampleRate: 1.0,normalizeDepth: 21,});
Package + Version
@sentry/integrations - ^5.27.3@sentry/node - ^5.27.3@sentry/tracing - ^5.29.2Description
I want to use the Postgres Tracing Integrations mentioned in these docs: https://docs.sentry.io/platforms/node/performance/database/
But for some reason, it does not work.
I'm using Prisma to do my Postgres queries: https://github.com/prisma/prisma
Underlying, Prisma is using the pg client package: https://github.com/prisma/prisma/blob/master/src/packages/client/src/utils/setupPostgres.ts
My code looks like this: