diff --git a/sentry.client.config.ts b/sentry.client.config.ts index 01969a112..7b598de7d 100644 --- a/sentry.client.config.ts +++ b/sentry.client.config.ts @@ -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, }); diff --git a/sentry.edge.config.ts b/sentry.edge.config.ts index 19e333f55..a3ece85db 100644 --- a/sentry.edge.config.ts +++ b/sentry.edge.config.ts @@ -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, });