🪢 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
chore: filter out http errors from sentry (#9569)
Nimard9460e684d58
diff --git a/web/instrumentation-client.ts b/web/instrumentation-client.tsindex f18dd7ae3e..884e8400c2 100644--- a/web/instrumentation-client.ts+++ b/web/instrumentation-client.ts@@ -24,6 +24,16 @@ Sentry.init({return null;}+ // Filter HTTP client errors from tRPC endpoints+ // These are captured at the network level by httpClientIntegration but are already+ // handled by tRPC's error handling system+ if (+ event.exception?.values?.[0]?.mechanism?.type === "http.client" &&+ event.request?.url?.includes("/api/trpc/")+ ) {+ return null;+ }+return event;},