opentelemetry-collector icon indicating copy to clipboard operation
opentelemetry-collector copied to clipboard

[mdatagen] Consider updating metrics `stability` field to match Weaver

Open dmitryax opened this issue 2 weeks ago • 1 comments
trafficstars

Problem

Currently, we define stability as a group that typically includes only the level field. The only additional field used is since, which applies to the deprecated stability level.

Comparison with Weaver

In Weaver V2, deprecation is modeled differently: the stability group no longer includes a deprecated level. Instead, deprecation is represented in a separate group called deprecated, making the stability field structure simpler and flatter.

Proposal

Adopt this approach in metadata.yaml

Future Work

We should make similar updates to other parts of the metadata.yaml schema to align more closely with Weaver. Eventually, this will allow a full migration to the Weaver model.

dmitryax avatar Nov 03 '25 00:11 dmitryax

Pinging code owners for cmd/mdatagen: @dmitryax. See Adding Labels via Comments if you do not have permissions to add labels yourself. For example, comment '/label priority:p2 -needs-triage' to set the priority and remove the needs-triage label.

github-actions[bot] avatar Nov 03 '25 00:11 github-actions[bot]