Skip to content

Commit

Permalink
Disable Sentry session tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
carlobeltrame committed Jan 9, 2024
1 parent 22b92cb commit 2041d71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ if (env && env.SENTRY_FRONTEND_DSN) {
Vue,
dsn: env.SENTRY_FRONTEND_DSN,
environment: sentryEnvironment,
tracing: false,
enableTracing: false,
autoSessionTracking: false,
logErrors: process.env.NODE_ENV !== 'production',
})
}
Expand Down
2 changes: 2 additions & 0 deletions print/server/plugin/sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ export default defineNitroPlugin((nitroApp) => {
Sentry.init({
dsn: sentry.dsn,
environment: sentry.environment,
enableTracing: false,
autoSessionTracking: false,
integrations: [new CaptureConsole({ levels: ['warn', 'error'] })],
})

Expand Down

0 comments on commit 2041d71

Please sign in to comment.