🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
refactor: reduce sentry sampling (#1564)
Max Deichmann14a1764d81b7
diff --git a/web/sentry.client.config.ts b/web/sentry.client.config.tsindex 2a8360402f..465a9144a8 100644--- a/web/sentry.client.config.ts+++ b/web/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.3,+ tracesSampleRate: 0.2,// Capture Replay for 100% of all sessions,// plus for 100% of sessions with an errordiff --git a/web/sentry.edge.config.ts b/web/sentry.edge.config.tsindex 3d36fda54f..27fb4eaaa4 100644--- a/web/sentry.edge.config.ts+++ b/web/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.3,+ tracesSampleRate: 0.2,// ...diff --git a/web/sentry.server.config.ts b/web/sentry.server.config.tsindex 0fae4ad8dd..367bbccd48 100644--- a/web/sentry.server.config.ts+++ b/web/sentry.server.config.ts@@ -12,7 +12,6 @@ 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.0,tracesSampler: (samplingContext: SamplingContext) => {if (samplingContext.request &&@@ -20,9 +19,9 @@ if (process.env.NEXT_PUBLIC_SENTRY_DSN)samplingContext.request.url &&samplingContext.request.url.includes("api/trpc")) {- return 1.0;+ return 0.9;}- return 0.2;+ return 0.15;},profilesSampleRate: 0.2, // Profiling sample rate is relative to tracesSampleRate