-
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
Fix incorrect "all" and "resource" definition for Schema File #3777
Fix incorrect "all" and "resource" definition for Schema File #3777
Conversation
I think this does not require a change log since it is a bug fix, but let me know if you think otherwise. |
Can you add an entry in the |
3e8767d
to
d05d9da
Compare
Done. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3777 +/- ##
=======================================
- Coverage 81.7% 81.7% -0.1%
=======================================
Files 167 167
Lines 12462 12453 -9
=======================================
- Hits 10184 10175 -9
Misses 2063 2063
Partials 215 215
|
OK to merge this? |
I think this meets the repo standard to wait a full 24 hours. Is there a reason to expedite? Are we trying to push a build tools fix today? |
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
5a3bf27
to
9a5f49f
Compare
Rebased and conflict resolved. I think this is ready to be merged. |
Pinned to specific commit 071d3173944553bed7d05057ecccb177d307978b of https://github.com/open-telemetry/opentelemetry-go to update the schema check tool to include the bug fix open-telemetry/opentelemetry-go#3777 (Fix incorrect "all" and "resource" definition for Schema File).
Pinned to specific commit 071d3173944553bed7d05057ecccb177d307978b of https://github.com/open-telemetry/opentelemetry-go to update the schema check tool to include the bug fix open-telemetry/opentelemetry-go#3777 (Fix incorrect "all" and "resource" definition for Schema File).
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