-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 span status & description setting to comply with the spec #1376
Comments
@MrAlias I updated the description as there was another related change to the spec (see the update description), I think it makes sense to tackle it all in one go. I hope the update is OK, not sure whether it changes priority etc. Also happy to pick up this issue ⬆️ |
Hello @MrAlias! I've been looking into this and I think there are even more (although mostly minor) discrepancies between the exporters and the spec, since I opened this. I think I will split the changes into separate PRs, one for each exporter, for better review process, just FYI. |
@matej-g sounds good 👍 |
Adding the following tasks to this to be explicit for what we need in the Jaeger exporter:
It might be worth splitting this issue into smaller ones. |
Addressing that last comment in #1761 |
Related PRs (merged ones ticked off)
According to recent spec change in open-telemetry/opentelemetry-specification#1186 and
open-telemetry/opentelemetry-specification#1257:
Regarding exporters
For Jaeger status code and message (excerpts):
For Zipkin status code and description (excerpts):
Regarding status from HTTP status code (open question)
Furthermore, the spec now states that:
and in HTTP semantic conventions spec:
Generally this seems to be the case, however
SpanStatusFromHTTPStatusCode
, which - although not returning directly span status with description - is returning accompanying message for all statuses. The question is whether this acceptable (and the burden of checking and (not) setting span status is on the caller ofSpanStatusFromHTTPStatusCode
) or this could be simplified to return empty string for success statuses.The text was updated successfully, but these errors were encountered: