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 Aug 22, 2024
1 parent e7934ee commit 8ab940c
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.1,
replaysSessionSampleRate: 0.01,
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: 1,
tracesSampleRate: 0.001,
});

0 comments on commit 8ab940c

Please sign in to comment.