From 367e1880eb7ba6cede339e783492debd5e342090 Mon Sep 17 00:00:00 2001 From: Andrii Ivaniv Date: Mon, 18 Nov 2024 17:11:28 +0200 Subject: [PATCH] sentry traces added --- src/main.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.tsx b/src/main.tsx index 6db29f6..b0595fc 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -25,6 +25,7 @@ if (isProd) { levels: ['error', 'debug', 'assert'] }), Sentry.browserTracingIntegration(), + Sentry.replayIntegration(), Sentry.browserApiErrorsIntegration({ setTimeout: true, setInterval: true, @@ -36,6 +37,8 @@ if (isProd) { ], tracesSampleRate: 1.0, tracePropagationTargets: ['localhost', /^https:\/\/rainbow\.ag/], + replaysSessionSampleRate: 0.1, + replaysOnErrorSampleRate: 1.0, sendDefaultPii: true });