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
Currently, this is correctly marking spans as errors because the jaeger span also has the error tag set to indicate the error and a span an appropriately tagged otel.span_status field will fail to parse and not override this status code. However, if, like in the Go implementation, the tag is infact an integer and the integer does not match the pdata definitions of status, it is possible for an error spans to be marked successful.
Proposal
Parse OK and ERROR strings and translate to appropriate pdata status.
Fallback to parsing otel.status_code only when the error tag is not set. Otherwise there is a chance the first parse of error is overwritten.
The text was updated successfully, but these errors were encountered:
Description
The
jaegerthrift
receiver parses theotel.status_code
tag as an integer.opentelemetry-collector-contrib/pkg/translator/jaeger/jaegerproto_to_traces.go
Line 261 in 3de607f
The OpenTelemetry specification specifies this tag to be a string of
OK
orERROR
values.Currently, this is correctly marking spans as errors because the jaeger span also has the
error
tag set to indicate the error and a span an appropriately taggedotel.span_status
field will fail to parse and not override this status code. However, if, like in the Go implementation, the tag is infact an integer and the integer does not match thepdata
definitions of status, it is possible for an error spans to be marked successful.Proposal
OK
andERROR
strings and translate to appropriatepdata
status.otel.status_code
only when theerror
tag is not set. Otherwise there is a chance the first parse oferror
is overwritten.The text was updated successfully, but these errors were encountered: