Open
Description
mdatagen
allows today to set sem_conv_version within the metdata.yaml
file. However this version is only used to import the semantic conventions module at
Currently, there is no way for us to know if metrics defined in metadata.yaml
follow the Semantic Conventions or not. We should consider linking metrics defined in metadata.yaml
to their Semantic Convnetions' definitions, if exist.
This should be similar to how SchemaUrl
is defined:
This will allow us to:
- Leverage Semantic Conventions definitions directly where exist
- Generated code will use imported
conventions
' metric names directly - Define per metric/attribute stability level directly from SemConv
- Start using stable semantic conventions in components:
hostmetricsreceiver
semantic conventions transition opentelemetry-collector-contrib#35325 - Help with components' stability discussions: Document SemConv compatibility requirements for components stability #11878
Metadata
Metadata
Assignees
Labels
No labels