🪢 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: remove trailing /index on span names after next upgrade (#12730)
Steffen Schmitz3dfa5226a572
diff --git a/web/src/observability.config.ts b/web/src/observability.config.tsindex c5fa632685..f47413a54d 100644--- a/web/src/observability.config.ts+++ b/web/src/observability.config.ts@@ -49,6 +49,9 @@ const sdk = new NodeSDK({if (path.startsWith("/_next/static")) {path = "/_next/static/*";}+ if (path.endsWith("/index")) {+ path = path.slice(0, -6);+ }span.updateName(`${req?.method} ${path}`);span.setAttribute("http.route", path);},