🪢 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
fix(otel): handle missing scope name gracefully (#7872)
Steffen Schmitzdf1ec4d81e1b
diff --git a/web/src/features/otel/server/OtelIngestionProcessor.ts b/web/src/features/otel/server/OtelIngestionProcessor.tsindex 4e71501016..aa2f1e63b3 100644--- a/web/src/features/otel/server/OtelIngestionProcessor.ts+++ b/web/src/features/otel/server/OtelIngestionProcessor.ts@@ -307,7 +307,7 @@ export class OtelIngestionProcessor {for (const scopeSpan of resourceSpan?.scopeSpans ?? []) {const isLangfuseSDKSpans =- scopeSpan.scope?.name.startsWith("langfuse-sdk") ?? false;+ scopeSpan.scope?.name?.startsWith("langfuse-sdk") ?? false;const scopeAttributes = this.extractScopeAttributes(scopeSpan);this.validatePublicKey(