Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass metric labels when transforming to gaugeArray #1570

Merged
merged 8 commits into from
Feb 28, 2021

Conversation

terev
Copy link
Contributor

@terev terev commented Feb 23, 2021

Fixes #1563

I dont know if there was any reasoning behind not passing these labels, but this change has fixed exporting of labels for me.

@codecov
Copy link

codecov bot commented Feb 23, 2021

Codecov Report

Merging #1570 (6feb7a8) into main (6d4a5e0) will increase coverage by 0.0%.
The diff coverage is 100.0%.

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #1570   +/-   ##
=====================================
  Coverage   77.6%   77.7%           
=====================================
  Files        128     128           
  Lines       6635    6637    +2     
=====================================
+ Hits        5153    5157    +4     
+ Misses      1235    1233    -2     
  Partials     247     247           
Impacted Files Coverage Δ
exporters/otlp/internal/transform/metric.go 80.6% <100.0%> (+0.1%) ⬆️
exporters/otlp/otlpgrpc/connection.go 88.7% <0.0%> (+1.8%) ⬆️

CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Tyler Yahn <[email protected]>
Copy link
Member

@XSAM XSAM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add a test to prevent regression?

@terev terev requested a review from XSAM February 27, 2021 16:04
@terev
Copy link
Contributor Author

terev commented Feb 28, 2021

I've added label requirements to the tests that call transforms

This was referenced Mar 11, 2021
@pellared pellared added this to the untracked milestone Nov 8, 2024
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.

Exported Int64ValueRecorder Metrics Via OTLP Missing Labels
6 participants