Skip to content

Add metadata.yaml to components #2730

Open
0 of 4 issues completed
Open

Description

@thompson-tomo

Is your feature request related to a problem? Please describe.
I want my collector components to follow the requirements of collector components.

Describe the solution you'd like
Each component has a metadata.yaml file which describes the component including the attributes. The component readmes should be updated with this metadata automatically

Describe alternatives you've considered
N/a

Additional context

https://github.com/open-telemetry/opentelemetry-collector/blob/main/cmd/mdatagen/metadata-schema.yaml

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.

Activity

  1. added
    enhancement
    on Nov 8, 2026
  2. yuminn-k commented on Nov 9, 2026

    @yuminn-k
    Contributor

    I'd like to take #2730 and #2731 together, if nobody else has started on them.

    The plan is to add a metadata.yaml and an mdatagen go:generate directive to the three collector components (telemetryapireceiver, coldstartprocessor, decoupleprocessor), switch the factories to the generated metadata.Type and stability constants, and have the generated status block replace the hand-written one in each README. Then a CI step in ci-collector.yml would run make generate and fail on any diff, which covers #2731.

    Would you prefer one PR per component, or a single PR for all three? And since mdatagen would be added to the tools module that #2726 is changing, should I wait until #2726 merges and rebase on it, or open mine first?

  3. thompson-tomo commented on Nov 9, 2026

    @thompson-tomo
    ContributorAuthor

    Thanks for the offer to contribute. #2730 is the parent issue encompassing issues for updating each component & the ci to ensure content is upto date.

    Happy for you to pick up one of the components and add a metadata file while we separately look at updating the ci.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    Fields

    Priority

    None yet

    Effort

    None yet

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions