Skip to content

Commit

Permalink
πŸ“ˆ server: remove deprecated sentry integration
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Nov 25, 2024
1 parent e49795a commit 4422926
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/instrument.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { extraErrorDataIntegration, init, sessionTimingIntegration } = require("@sentry/node");
const { extraErrorDataIntegration, init } = require("@sentry/node");
const { nodeProfilingIntegration } = require("@sentry/profiling-node");

init({
Expand All @@ -11,7 +11,7 @@ init({
autoSessionTracking: true,
maxValueLength: 8192,
normalizeDepth: 69,
integrations: [nodeProfilingIntegration(), extraErrorDataIntegration({ depth: 69 }), sessionTimingIntegration()],
integrations: [nodeProfilingIntegration(), extraErrorDataIntegration({ depth: 69 })],
spotlight: !process.env.APP_DOMAIN || process.env.APP_DOMAIN === "localhost",
beforeSendTransaction: (transaction) => (transaction.extra?.["exa.ignore"] ? null : transaction),
});

0 comments on commit 4422926

Please sign in to comment.