-
Notifications
You must be signed in to change notification settings - Fork 897
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
Verify resource attributes rename in schemas is correct #3245
Comments
That is correct. There is no The reason for that was that If we don't like this we can fix this and make @jsuereth thoughts? |
Thanks for the clarification. I'm fine with keeping them that way (we should add a note somewhere perhaps, just as clarification though). |
I think for consistency and future-proofing it is best to change |
The spec is correct. Nothing to fix here. The schema checker is incorrect. I will submit bug fixes. |
The "all" and "resource" sections had incorrect definitions of "attribute_rename" transform. It was missing the subkey "attribute_map". This is a bug fix and makes the implementation compliant with the spec: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/schemas/file_format_v1.1.0.md#resources-section Related issue: open-telemetry/opentelemetry-specification#3245
Fix submitted in Go repo: open-telemetry/opentelemetry-go#3777 After this is merged will need to update the build tools. |
The "all" and "resource" sections had incorrect definitions of "attribute_rename" transform. It was missing the subkey "attribute_map". This is a bug fix and makes the implementation compliant with the spec: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/schemas/file_format_v1.1.0.md#resources-section Related issue: open-telemetry/opentelemetry-specification#3245
The "all" and "resource" sections had incorrect definitions of "attribute_rename" transform. It was missing the subkey "attribute_map". This is a bug fix and makes the implementation compliant with the spec: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/schemas/file_format_v1.1.0.md#resources-section Related issue: open-telemetry/opentelemetry-specification#3245
The "all" and "resource" sections had incorrect definitions of "attribute_rename" transform. It was missing the subkey "attribute_map". This is a bug fix and makes the implementation compliant with the spec: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/schemas/file_format_v1.1.0.md#resources-section Related issue: open-telemetry/opentelemetry-specification#3245 Co-authored-by: Tyler Yahn <[email protected]>
Fix submitted to build tools: open-telemetry/build-tools#138 |
As shown by #3190, using the
spans
format to rename attributes doesn't work forresources
- instead, the following is needed. Whether that's fine or it's a limitation, we need to make it clear (i.e. see theattribute_map
omission).Wdyt @tigrannajaryan ?
The text was updated successfully, but these errors were encountered: