Skip to content

Commit

Permalink
Add more integrations to Sentry
Browse files Browse the repository at this point in the history
They seem fast in VPS, and slow locally. Unsure why, just won't use Sentry locally as usual.
  • Loading branch information
dsevillamartin committed Nov 15, 2024
1 parent 0c79a76 commit 5d90877
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/instrument.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ if (process.env.SENTRY) {
integrations: [
Sentry.httpIntegration({ tracing: true }),
Sentry.expressIntegration(),
Sentry.contextLinesIntegration(),
Sentry.onUncaughtExceptionIntegration(),
Sentry.onUnhandledRejectionIntegration(),
Sentry.nativeNodeFetchIntegration(),
],
tracesSampleRate,
autoSessionTracking: false,
Expand Down

0 comments on commit 5d90877

Please sign in to comment.