Span Status shows OK for 1xx, 2xx, 3xx HTTP status code #2596
Unanswered
debasis9dash
asked this question in
Q&A
Replies: 1 comment
-
IIRC, the OK span status should never be set by instrumentations, it should only be used as an explicit override by applications. Consult the API specification for SetStatus: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#set-status
and
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
According to https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/semantic_conventions/http.md#Status span status should be kept as Unset for the 1xx, 2xx and 3xx HTTP status codes.
The description doesn't tell on what scenario span status should be OK.
Should the Span status be OK when the HTTP status code are in 1xx ,2xx, 3xx?
Beta Was this translation helpful? Give feedback.
All reactions