open-telemetry / opentelemetry-collector

OpenTelemetry Collector
https://opentelemetry.io
Apache License 2.0
4.25k stars 1.4k forks source link

Review metadata.yaml units for internal telemetry: `cmd/mdatagen/testdata` #10654

Closed codeboten closed 1 month ago

crobert-1 commented 1 month ago

The only generic "1" unit type is here. This is a test data file used to ensure that the proper error is returned when a metadata.yaml attribute does not have a type.

Since the metric is for testing and exists just as a filler value to test something unrelated, I think we can close this issue and leave the unit as-is.

codeboten commented 1 month ago

@crobert-1 sounds good