🪢 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
feat: add sentry sampling via env to worker (#2788)
Max Deichmannc564608ee716
diff --git a/worker/src/instrumentation.ts b/worker/src/instrumentation.tsindex 8663f9c682..144f250139 100644--- a/worker/src/instrumentation.ts+++ b/worker/src/instrumentation.ts@@ -19,7 +19,7 @@ Sentry.init({// Add Tracing by setting tracesSampleRate// We recommend adjusting this value in production- tracesSampleRate: 0.5,+ tracesSampleRate: env.LANGFUSE_TRACING_SAMPLE_RATE,// Set sampling rate for profiling// This is relative to tracesSampleRate