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