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
When receiving an OTel span S that is being mapped to a transaction (e.g. root span, or SpanKind = SERVER) and in addition an OTel log event L that is correlated to that span S (i.e. the log event has the OTLP field SpanID pointing to that span).
When receiving the corresponding log event L, the log event points to S through an OTLP SpanID field. However, since the log event L does not carry the characteristics of the span S (but only the SpanID) we cannot decide whether the OTLP field SpanID on the log event needs to be mapped to a span.id or a transaction.id field. As a result the SpanID OTLP field is always being mapped to the span.id field (even for associated transaction documents).
The text was updated successfully, but these errors were encountered:
When does the problem occur?
When receiving an OTel span
S
that is being mapped to a transaction (e.g. root span, orSpanKind = SERVER
) and in addition an OTel log eventL
that is correlated to that spanS
(i.e. the log event has the OTLP fieldSpanID
pointing to that span).Problem
Correlation on the span / transaction breaks.
Reason
In the above situation we map the OTel span
S
to a transaction document. Thus, the OTLP fieldSpanID
is being mapped to thetransaction.id
field in the internal model.When receiving the corresponding log event
L
, the log event points toS
through an OTLPSpanID
field. However, since the log eventL
does not carry the characteristics of the spanS
(but only theSpanID
) we cannot decide whether the OTLP fieldSpanID
on the log event needs to be mapped to aspan.id
or atransaction.id
field. As a result theSpanID
OTLP field is always being mapped to thespan.id
field (even for associated transaction documents).The text was updated successfully, but these errors were encountered: