You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
that ends up having an unknown span type in kibana which does not look great.
Please note that this span is not following the OTel genai convention but if we want to add a special type for genai stuff the presence of the gen_ai.system attribute is in the semconv while this particular value (langchain) is not.
Here's the current enrichment code setting the span.type:
When tracing a python langchain application with opentelemetry-instrumentation-langchain (provided by openllmetry) we may produce spans like this:
that ends up having an
unknown
span type in kibana which does not look great.Please note that this span is not following the OTel genai convention but if we want to add a special type for genai stuff the presence of the
gen_ai.system
attribute is in the semconv while this particular value (langchain) is not.Here's the current enrichment code setting the span.type:
opentelemetry-lib/enrichments/trace/internal/elastic/span.go
Lines 342 to 372 in 5f809d4
The text was updated successfully, but these errors were encountered: