Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

refactor: reduce sentry sampling (#858)

Max Deichmanna751f1f0f17a
diff --git a/sentry.client.config.ts b/sentry.client.config.ts
index dd75d0a3be..2a8360402f 100644
--- a/sentry.client.config.ts
+++ b/sentry.client.config.ts
@@ -9,7 +9,7 @@ if (process.env.NEXT_PUBLIC_SENTRY_DSN)
// Set tracesSampleRate to 1.0 to capture 100%
// of transactions for performance monitoring.
// We recommend adjusting this value in production
- tracesSampleRate: 0.8,
+ tracesSampleRate: 0.3,
// Capture Replay for 100% of all sessions,
// plus for 100% of sessions with an error
diff --git a/sentry.edge.config.ts b/sentry.edge.config.ts
index 13c422797d..3d36fda54f 100644
--- a/sentry.edge.config.ts
+++ b/sentry.edge.config.ts
@@ -7,7 +7,7 @@ if (process.env.NEXT_PUBLIC_SENTRY_DSN)
// Set tracesSampleRate to 1.0 to capture 100%
// of transactions for performance monitoring.
// We recommend adjusting this value in production
- tracesSampleRate: 0.75,
+ tracesSampleRate: 0.3,
// ...
diff --git a/sentry.server.config.ts b/sentry.server.config.ts
index ccd0578721..e4b2a21b83 100644
--- a/sentry.server.config.ts
+++ b/sentry.server.config.ts
@@ -12,9 +12,9 @@ if (process.env.NEXT_PUBLIC_SENTRY_DSN)
// Set tracesSampleRate to 1.0 to capture 100%
// of transactions for performance monitoring.
// We recommend adjusting this value in production
- tracesSampleRate: 0.5,
+ tracesSampleRate: 0.3,
- profilesSampleRate: 0.5, // Profiling sample rate is relative to tracesSampleRate
+ profilesSampleRate: 0.3, // Profiling sample rate is relative to tracesSampleRate
integrations: [
// Add profiling integration to list of integrations
new ProfilingIntegration(),