From 9047651b131214ff4c6d9198e231117ec9bcb0f0 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Sat, 3 Dec 2022 15:30:51 +0800 Subject: [PATCH] perf: update sentry tracesSampleRate --- client/web/plugins/com.msgbyte.sentry/src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/web/plugins/com.msgbyte.sentry/src/index.tsx b/client/web/plugins/com.msgbyte.sentry/src/index.tsx index c11dbb9c..d00baa2b 100644 --- a/client/web/plugins/com.msgbyte.sentry/src/index.tsx +++ b/client/web/plugins/com.msgbyte.sentry/src/index.tsx @@ -9,7 +9,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: 0.1, // reduce sentry quota usage }); sharedEvent.on('loginSuccess', (userInfo) => {