🪢 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: add trace update compatibility properties (#7561)
Steffen Schmitz64a71f059f36
diff --git a/web/src/features/otel/server/OtelIngestionProcessor.ts b/web/src/features/otel/server/OtelIngestionProcessor.tsindex f112467828..582e59d994 100644--- a/web/src/features/otel/server/OtelIngestionProcessor.ts+++ b/web/src/features/otel/server/OtelIngestionProcessor.ts@@ -620,6 +620,8 @@ export class OtelIngestionProcessor {LangfuseOtelSpanAttributes.TRACE_SESSION_ID,LangfuseOtelSpanAttributes.TRACE_PUBLIC,LangfuseOtelSpanAttributes.TRACE_TAGS,+ LangfuseOtelSpanAttributes.TRACE_COMPAT_USER_ID,+ LangfuseOtelSpanAttributes.TRACE_COMPAT_SESSION_ID,`${LangfuseOtelSpanAttributes.OBSERVATION_METADATA}.langfuse_user_id`,`${LangfuseOtelSpanAttributes.OBSERVATION_METADATA}.langfuse_session_id`,`${LangfuseOtelSpanAttributes.OBSERVATION_METADATA}.langfuse_tags`,diff --git a/web/src/features/otel/server/attributes.ts b/web/src/features/otel/server/attributes.tsindex 134fdac874..f6d205b6ca 100644--- a/web/src/features/otel/server/attributes.ts+++ b/web/src/features/otel/server/attributes.ts@@ -33,4 +33,9 @@ export enum LangfuseOtelSpanAttributes {// InternalAS_ROOT = "langfuse.internal.as_root",++ // Compatibility - Map properties that were documented in https://langfuse.com/docs/opentelemetry/get-started#property-mapping,+ // but have a new assignment+ TRACE_COMPAT_USER_ID = "langfuse.user.id",+ TRACE_COMPAT_SESSION_ID = "langfuse.session.id",}