From 45c31f50b12a2772865dbb1e8cef1ebb516b9d80 Mon Sep 17 00:00:00 2001 From: Chris Amico Date: Tue, 19 Dec 2023 16:13:32 -0500 Subject: [PATCH] Try half sampling --- src/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index b69d723e0..7b5b63455 100644 --- a/src/main.js +++ b/src/main.js @@ -16,7 +16,7 @@ if (!IS_EMBED && SENTRY_DSN) { // Set tracesSampleRate to 1.0 to capture 100% // of transactions for performance monitoring. // We recommend adjusting this value in production - tracesSampleRate: 1.0, + tracesSampleRate: 0.5, // Set `tracePropagationTargets` to control for which URLs distributed tracing should be enabled tracePropagationTargets: [ @@ -28,7 +28,7 @@ if (!IS_EMBED && SENTRY_DSN) { // Capture Replay for 10% of all sessions, // plus for 100% of sessions with an error replaysSessionSampleRate: 0.1, - replaysOnErrorSampleRate: 1.0, + replaysOnErrorSampleRate: 0.5, }); }); } else {