-
Notifications
You must be signed in to change notification settings - Fork 237
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
fix! implement new Span.Status spec #411
Conversation
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.
This looks good to me
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.
LGTM. We can and probably should set the error: true
span attribute for the Jaeger exporter: https://github.com/open-telemetry/opentelemetry-ruby/blob/master/exporter/jaeger/lib/opentelemetry/exporter/jaeger/encoder.rb#L121-L124. This can be done in a follow up.
Updated to encode an error status in Jaeger, and to default to |
This implements the new Span.Status spec: open-telemetry/opentelemetry-specification#966
We need the mapping to OTLP to be specified in order to complete this, however that is strictly additive and this implements the proposal for OK & Unset -> OK and Error -> UnknownError.