From 51e0b66e8ca36fb20e7d99da67d03e2808488366 Mon Sep 17 00:00:00 2001 From: jnkeniaem Date: Fri, 22 Nov 2024 18:42:42 +0900 Subject: [PATCH] =?UTF-8?q?[FE]=20ETC:=20Sentry=20traces=20sample,=20error?= =?UTF-8?q?=20replay=20sample=20=EB=B9=84=EC=9C=A8=20=EC=83=81=ED=96=A5=20?= =?UTF-8?q?#1709?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/main.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/main.tsx b/frontend/src/main.tsx index 7de2f2301..a8de74500 100644 --- a/frontend/src/main.tsx +++ b/frontend/src/main.tsx @@ -38,7 +38,7 @@ Sentry.init({ // Set tracesSampleRate to 1.0 to capture 100% // of transactions for tracing. - tracesSampleRate: 0.05, + tracesSampleRate: 1.0, // Set `tracePropagationTargets` to control for which URLs trace propagation should be enabled // tracePropagationTargets: [/^\//, /^https:\/\/yourserver\.io\/api/], @@ -52,8 +52,8 @@ Sentry.init({ // Capture Replay for 100% of all sessions, // plus for 100% of sessions with an error - replaysSessionSampleRate: 0.2, - replaysOnErrorSampleRate: 0.2, + replaysSessionSampleRate: 0.1, + replaysOnErrorSampleRate: 1.0, }); ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(