-
Notifications
You must be signed in to change notification settings - Fork 894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update status serialization for Zipkin (was: Remove mention of gRPC status codes) #1186
Conversation
`Span.Status` is not related to gRPC codes anymore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch!
@@ -138,7 +138,8 @@ TBD: add examples | |||
|
|||
### Status | |||
|
|||
Span `Status` MUST be reported as a key-value pair in `tags` to Zipkin. | |||
Span `Status` MUST be reported as a key-value pair in `tags` to Zipkin, unless it is `UNSET`. | |||
In the latter case it MUST NOT be reported. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we still want to report a non-empty message even if the code is UNSET. But someone knowledgeable about Zipkin should probably review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No reason to do that, unnecessary bytes on the wire.
Co-authored-by: Christian Neumüller <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Since this now is more than editorial, we might want an issue for that, so it can be triaged. I don't think splitting the non-editorial changes off makes much sense, at least in the current master branch state it should be obvious that the spec is outdated here 😃 |
@open-telemetry/technical-committee should I do anything else with this or can it be merged? |
LGTM. Will be merged after the compulsory 2 day period (unless we need it more urgently for some reason). |
…tatus codes) (open-telemetry#1186) Co-authored-by: Christian Neumüller <[email protected]>
Span.Status
is not related to gRPC codes anymore.