From de6c2a2fdc30cf77c6b9f491e3713ed315f31851 Mon Sep 17 00:00:00 2001 From: danilo neves cruz Date: Thu, 17 Oct 2024 20:06:22 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=88=20sentry:=20disable=20session=20re?= =?UTF-8?q?play?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sentry.client.config.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sentry.client.config.ts b/sentry.client.config.ts index fffdc7240..65df7357c 100644 --- a/sentry.client.config.ts +++ b/sentry.client.config.ts @@ -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'; @@ -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, });