Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore(sentry): decrease tracesSampleRate to prevent blowing through quota (#44901)

Paweł Gulbinowicz10f49d85f1a0
diff --git a/apps/studio/instrumentation-client.ts b/apps/studio/instrumentation-client.ts
index b9b26d37d26..0097516a418 100644
--- a/apps/studio/instrumentation-client.ts
+++ b/apps/studio/instrumentation-client.ts
@@ -97,7 +97,7 @@ Sentry.init({
debug: false,
// Enable performance monitoring
- tracesSampleRate: 1.0, // Capture 100% of transactions for performance monitoring
+ tracesSampleRate: 0.02,
integrations: (() => {
const thirdPartyErrorFilterIntegration = (Sentry as any).thirdPartyErrorFilterIntegration
diff --git a/apps/studio/sentry.edge.config.ts b/apps/studio/sentry.edge.config.ts
index 6b676515883..0477c1441ee 100644
--- a/apps/studio/sentry.edge.config.ts
+++ b/apps/studio/sentry.edge.config.ts
@@ -14,7 +14,7 @@ Sentry.init({
debug: false,
// Enable performance monitoring
- tracesSampleRate: 1.0, // Capture 100% of transactions for performance monitoring
+ tracesSampleRate: 0.02,
ignoreErrors: [
'NEXT_NOT_FOUND',
'NEXT_REDIRECT',
diff --git a/apps/studio/sentry.server.config.ts b/apps/studio/sentry.server.config.ts
index fa1dc65179e..2e5ea6049ac 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: 1.0, // Capture 100% of transactions for performance monitoring
+ tracesSampleRate: 0.02,
ignoreErrors: [
'ResizeObserver',
'Failed to load Stripe.js',