Skip to content

Add lint/ordering validation for metadata.yaml in mdatagen #13781

@paulojmdias

Description

@paulojmdias

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions