From cbfc898ecabfc0b7d02bab5dfd64ae6bf2e0182b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20PASTOURET?= Date: Tue, 29 Oct 2024 15:00:45 +0100 Subject: [PATCH] feat: suppression du mode replay (#4682) --- src/main.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main.ts b/src/main.ts index 3f49b11f1d..4bcd8cfdd4 100644 --- a/src/main.ts +++ b/src/main.ts @@ -47,13 +47,8 @@ if (process.env?.VITE_SENTRY_FRONTEND_DSN) { app, dsn: process.env.VITE_SENTRY_FRONTEND_DSN, environment: process.env.VITE_CONTEXT, - integrations: [ - Sentry.browserTracingIntegration({ router }), - Sentry.replayIntegration(), - ], + integrations: [Sentry.browserTracingIntegration({ router })], tracesSampleRate: 0.1, - replaysSessionSampleRate: 0.1, - replaysOnErrorSampleRate: 1.0, debug: "development" === process.env.VITE_CONTEXT, }) }