From d56517fb7a215490b6aeb89e9305902edd302d8f Mon Sep 17 00:00:00 2001 From: Jordi Enric <37541088+jordienr@users.noreply.github.com> Date: Wed, 18 Feb 2026 14:27:47 +0100 Subject: [PATCH] sentry: lower sampling (#42981) lowers to 3% --- apps/studio/instrumentation-client.ts | 2 +- apps/studio/sentry.edge.config.ts | 2 +- apps/studio/sentry.server.config.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/studio/instrumentation-client.ts b/apps/studio/instrumentation-client.ts index 6f24298c4d8..279c007e737 100644 --- a/apps/studio/instrumentation-client.ts +++ b/apps/studio/instrumentation-client.ts @@ -103,7 +103,7 @@ Sentry.init({ debug: false, // Enable performance monitoring - Next.js routes and API calls are automatically instrumented - tracesSampleRate: 0.1, // Capture 10% of transactions for performance monitoring + tracesSampleRate: 0.03, // Capture 3% of transactions for performance monitoring // [Ali] Filter out browser extensions and user scripts (FE-2094) // Using denyUrls to block known third-party script patterns diff --git a/apps/studio/sentry.edge.config.ts b/apps/studio/sentry.edge.config.ts index ad17e8b86a2..e43fc021fcf 100644 --- a/apps/studio/sentry.edge.config.ts +++ b/apps/studio/sentry.edge.config.ts @@ -14,5 +14,5 @@ Sentry.init({ debug: false, // Enable performance monitoring - tracesSampleRate: 0.1, // Capture 10% of transactions for performance monitoring + tracesSampleRate: 0.03, // Capture 3% of transactions for performance monitoring }) diff --git a/apps/studio/sentry.server.config.ts b/apps/studio/sentry.server.config.ts index 13d62e7bc31..60859d1d67e 100644 --- a/apps/studio/sentry.server.config.ts +++ b/apps/studio/sentry.server.config.ts @@ -13,7 +13,7 @@ Sentry.init({ debug: false, // Enable performance monitoring - tracesSampleRate: 0.1, // Capture 10% of transactions for performance monitoring + tracesSampleRate: 0.03, // Capture 3% of transactions for performance monitoring ignoreErrors: [ // Used exclusively in Monaco Editor. 'ResizeObserver',