Skip to content

Conversation

@dashpole
Copy link
Contributor

Description

After #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

@dashpole dashpole requested review from a team and Aneurysm9 April 19, 2024 18:50
@codecov
Copy link

codecov bot commented Apr 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

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

Additional details and impacted files
@@            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     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codeboten codeboten merged commit cb0637f into open-telemetry:main Apr 19, 2024
@github-actions github-actions bot added this to the next release milestone Apr 19, 2024
@dashpole dashpole deleted the metric_metadata branch April 23, 2024 18:23
codeboten pushed a commit that referenced this pull request Apr 26, 2024
Follow-up to
#10006,
which added metric.metadata to pmetric.

I forgot to add support for parsing the field from JSON in that PR. This
PR adds the missing support.

#### Testing

Unit tests
andrzej-stencel pushed a commit to andrzej-stencel/opentelemetry-collector that referenced this pull request May 27, 2024
Follow-up to
open-telemetry#10006,
which added metric.metadata to pmetric.

I forgot to add support for parsing the field from JSON in that PR. This
PR adds the missing support.

#### Testing

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants