Skip to content

Commit

Permalink
📈 sentry: disable session replay
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Oct 17, 2024
1 parent 6c235a9 commit de6c2a2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sentry.client.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { init, Replay } from '@sentry/nextjs';
import { init } from '@sentry/nextjs';
import { ExtraErrorData } from '@sentry/integrations';
import { beforeSend } from './utils/sentry';

Expand All @@ -9,8 +9,6 @@ init({
dsn: SENTRY_DSN,
environment: SENTRY_ENVIRONMENT,
tracesSampleRate: 1.0,
replaysOnErrorSampleRate: 1.0,
replaysSessionSampleRate: 0.001,
integrations: [new ExtraErrorData({ depth: 5 }), new Replay()],
integrations: [new ExtraErrorData({ depth: 5 })],
beforeSend,
});

0 comments on commit de6c2a2

Please sign in to comment.