Skip to content

Commit

Permalink
Skipped configuring OTel in Sentry
Browse files Browse the repository at this point in the history
- we shouldn't be doing it here because it causes the setup functions to
  be called twice
  • Loading branch information
daniellockyer committed Nov 14, 2024
1 parent 8cbe916 commit a3ccae2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/instrumentation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ if (process.env.SENTRY_DSN) {
dsn: process.env.SENTRY_DSN,
environment: process.env.NODE_ENV || 'unknown',
release: process.env.K_REVISION,
skipOpenTelemetrySetup: true,
});
}

Expand Down

0 comments on commit a3ccae2

Please sign in to comment.