🪢 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): set trace name only if root span or attr provided (#7017)
Hassieb Pakzad652e9e3fe5a7
diff --git a/web/src/features/otel/server/index.ts b/web/src/features/otel/server/index.tsindex baaeb0024c..68591cbae6 100644--- a/web/src/features/otel/server/index.ts+++ b/web/src/features/otel/server/index.ts@@ -656,7 +656,7 @@ export const convertOtelSpanToIngestionEvent = (timestamp: startTimeISO,name:attributes[LangfuseOtelSpanAttributes.TRACE_NAME] ??- extractName(span.name, attributes),+ (is_root_span ? extractName(span.name, attributes) : undefined),metadata: {...resourceAttributeMetadata,...extractMetadata(attributes, "trace"),