Component(s)
No response
Describe the issue you're reporting
Following this comment: open-telemetry/opentelemetry-collector-contrib#42477 (comment)
mdatagen should validate that keys inside metadata.yaml are sorted consistently. For example:
• resource_attributes
• attributes
• metrics
• events
• telemetry.metrics
This would reduce noisy diffs and keep files consistent across components.
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.