Skip to content

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

infra: adjust sample rate (#2494)

Max Deichmann078f7d6f8346
diff --git a/web/src/sentry.server.config.ts b/web/src/sentry.server.config.ts
index a3e596c8d6..568cafec4b 100644
--- a/web/src/sentry.server.config.ts
+++ b/web/src/sentry.server.config.ts
@@ -10,7 +10,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: 1,
+ tracesSampleRate: 0.5,
profilesSampleRate: 0.1,
integrations: [
// Add profiling integration to list of integrations
diff --git a/worker/src/instrumentation.ts b/worker/src/instrumentation.ts
index c570ef3aba..8500552ad1 100644
--- a/worker/src/instrumentation.ts
+++ b/worker/src/instrumentation.ts
@@ -14,7 +14,7 @@ Sentry.init({
// Add Tracing by setting tracesSampleRate
// We recommend adjusting this value in production
- tracesSampleRate: 0.1,
+ tracesSampleRate: 0.5,
// Set sampling rate for profiling
// This is relative to tracesSampleRate