From 360f587a6bfc1d7840875b7c8f1bb8f6ebedebdf Mon Sep 17 00:00:00 2001 From: Bastien DUMONT <bdumont@grandlyon.com> Date: Thu, 8 Dec 2022 11:19:29 +0100 Subject: [PATCH] disable sentry for standalone --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 4f6f2c6..21306fa 100644 --- a/src/index.js +++ b/src/index.js @@ -69,7 +69,7 @@ Sentry.init({ // Set tracesSampleRate to 1.0 to capture 100% // of transactions for performance monitoring. // We recommend adjusting this value in production - tracesSampleRate: 1.0, + tracesSampleRate: isLocal() ? 0 : 1.0, release: version, environment: isDev() ? 'development' : 'production', debug: isDev(), -- GitLab