Skip to content

Commit

Permalink
🔧 sentry: decrease replay and middleware trace rates
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Sep 12, 2024
1 parent 34ce13b commit 7003ef4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sentry.client.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ init({
environment: SENTRY_ENVIRONMENT,
tracesSampleRate: 1.0,
replaysOnErrorSampleRate: 1.0,
replaysSessionSampleRate: 0.01,
replaysSessionSampleRate: 0.001,
integrations: [new ExtraErrorData({ depth: 5 }), new Replay()],
beforeSend,
});
2 changes: 1 addition & 1 deletion sentry.edge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN;

init({
dsn: SENTRY_DSN,
tracesSampleRate: 0.001,
tracesSampleRate: 0.0001,
});

0 comments on commit 7003ef4

Please sign in to comment.