open-telemetry / opentelemetry-collector

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

Support metric.metadata in pdata/pmetric #10006

Closed dashpole closed 1 month ago

dashpole commented 1 month ago

Description

After https://github.com/open-telemetry/opentelemetry-collector/pull/9985, add support for the new metric.metadata field in the pmetric package.

I plan to use the metric.metadata field to support additional prometheus types per https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/compatibility/prometheus_and_openmetrics.md#metric-metadata

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.67%. Comparing base (7b046d9) to head (ad8c665).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #10006 +/- ## ========================================== + Coverage 91.65% 91.67% +0.01% ========================================== Files 360 360 Lines 16639 16642 +3 ========================================== + Hits 15251 15256 +5 + Misses 1053 1052 -1 + Partials 335 334 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.