Skip to content

Commit

Permalink
Merge pull request #175 from zhiyan114/dev
Browse files Browse the repository at this point in the history
Fixed instrumentation issue...
  • Loading branch information
zhiyan114 committed Sep 26, 2024
2 parents 3d0f403 + 4f0b7a3 commit 2fe6e60
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if(process.env["COMMITHASH"] === undefined) {
import {
expressIntegration,
extraErrorDataIntegration,
//prismaIntegration,
prismaIntegration,
redisIntegration,
rewriteFramesIntegration,
init as sentryInit,
Expand All @@ -37,7 +37,6 @@ sentryInit({
dsn: process.env["SENTRY_DSN"],
maxValueLength: 1000,
tracesSampleRate: 1.0,
skipOpenTelemetrySetup: true,

integrations: [
extraErrorDataIntegration({
Expand All @@ -52,7 +51,7 @@ sentryInit({
return frame;
}
}),
//prismaIntegration(),
prismaIntegration(),
redisIntegration({cachePrefixes: [redisPrefix]}),
expressIntegration(),
],
Expand Down

0 comments on commit 2fe6e60

Please sign in to comment.