From b1dfb7e474b2ff60ff73f47cd50472f4dd49c8ec Mon Sep 17 00:00:00 2001 From: Jordi Enric <37541088+jordienr@users.noreply.github.com> Date: Wed, 18 Feb 2026 23:39:57 +0100 Subject: [PATCH] sentry: 0.1 sampling (#43003) --- 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 279c007e7377b..24f4547ac5808 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.03, // Capture 3% of transactions for performance monitoring + tracesSampleRate: 0.001, // Capture 0.1% 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 e43fc021fcf0f..09b5a3803c1bd 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.03, // Capture 3% of transactions for performance monitoring + tracesSampleRate: 0.001, // Capture 0.1% of transactions for performance monitoring }) diff --git a/apps/studio/sentry.server.config.ts b/apps/studio/sentry.server.config.ts index 60859d1d67e6f..c29862808f786 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.03, // Capture 3% of transactions for performance monitoring + tracesSampleRate: 0.001, // Capture 0.1% of transactions for performance monitoring ignoreErrors: [ // Used exclusively in Monaco Editor. 'ResizeObserver',