🪢 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
perf: reduce sentry sampling (#1897)
Max Deichmann9813cd27e0f8
diff --git a/web/sentry.server.config.ts b/web/sentry.server.config.tsindex 36aa0a2641..14cee035f8 100644--- a/web/sentry.server.config.ts+++ b/web/sentry.server.config.ts@@ -18,9 +18,9 @@ if (process.env.NEXT_PUBLIC_SENTRY_DSN)samplingContext.request.url &&samplingContext.request.url.includes("api/trpc")) {- return 0.5;+ return 0.3;}- return 0.15;+ return 0.1;},profilesSampleRate: 0.2, // Profiling sample rate is relative to tracesSampleRatediff --git a/worker/src/app.ts b/worker/src/app.tsindex f8d3b7b6b1..216a40751b 100644--- a/worker/src/app.ts+++ b/worker/src/app.ts@@ -30,9 +30,9 @@ if (isSentryEnabled) {nodeProfilingIntegration(),],// Performance Monitoring- tracesSampleRate: 0.2, // Capture 100% of the transactions+ tracesSampleRate: 0.1, // Capture 100% of the transactions// Set sampling rate for profiling - this is relative to tracesSampleRate- profilesSampleRate: 0.2,+ profilesSampleRate: 0.1,});// The request handler must be the first middleware on the app