From 657c463d0a9ecb3d0e19a299c31d3177f73f6ed7 Mon Sep 17 00:00:00 2001 From: kudlajz Date: Wed, 30 Oct 2024 10:01:37 +0100 Subject: [PATCH] Reduce transactions sample rate to 0.5% --- packages/nextjs/src/sentry/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nextjs/src/sentry/common.ts b/packages/nextjs/src/sentry/common.ts index d154331ef..4a9997c7e 100644 --- a/packages/nextjs/src/sentry/common.ts +++ b/packages/nextjs/src/sentry/common.ts @@ -48,7 +48,7 @@ export function getCommonClientOptions( return { dsn, // Adjust this value in production, or use tracesSampler for greater control - tracesSampleRate: 0.02, + tracesSampleRate: 0.005, // ... // Note: if you want to override the automatic release value, do not set a // `release` value here - use the environment variable `SENTRY_RELEASE`, so