-
Notifications
You must be signed in to change notification settings - Fork 653
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
null attributes that have been previously set results in the attribute being cleared and the key being dropped from the attribute set #998
Comments
Looks like the spec moved the relevant details here: https://github.com/open-telemetry/opentelemetry-specification/blob/671f5abe0eb99451f86df6da8aa7cd4b14d22633/specification/common/common.md#attributes |
Hi there! I would like to get started contributing on the repo. This is what I understood from the specs and the issue:
Can you confirm that I understood correctly? If yes, I'm down to write a PR 🙂 |
See below.
Possibly. Maybe we can just let this occur and then the exporter deals with the value accordingly. Should be fine to implement it as a no-op though.
Yes. |
Thanks for your answer :). Gonna work on this and get back to you soon |
Looks like the spec has changed regarding that topic: open-telemetry/opentelemetry-specification#992 defines updating an attribute value to |
@LetzNico However, I think due to this logic, we still have the issue of |
That is to comply this part of the spec, right?
If yes, I've updated the PR, good for review :). Thanks for your help! |
To be compliant with the tracing spec: null attributes that have been previously set results in the attribute being cleared and the key being dropped from the attribute set
https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/api.md#set-attributes
The text was updated successfully, but these errors were encountered: