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

Add support for Prometheus exporter #4479

Merged
merged 17 commits into from Oct 31, 2023
Merged

Conversation

punya
Copy link
Member

@punya punya commented Oct 24, 2023

Fixes #4472

@punya punya requested review from pellared and a team as code owners October 24, 2023 18:21
@codecov
Copy link

codecov bot commented Oct 24, 2023

Codecov Report

Merging #4479 (e877189) into main (724a94b) will increase coverage by 0.0%.
The diff coverage is 87.2%.

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #4479   +/-   ##
=====================================
  Coverage   80.8%   80.9%           
=====================================
  Files        150     150           
  Lines      10245   10292   +47     
=====================================
+ Hits        8284    8327   +43     
- Misses      1823    1825    +2     
- Partials     138     140    +2     
Files Coverage Δ
exporters/autoexport/metrics.go 81.8% <87.2%> (+8.4%) ⬆️

... and 1 file with indirect coverage changes

Wow that was embarrassing
exporters/autoexport/metrics.go Outdated Show resolved Hide resolved
exporters/autoexport/metrics.go Outdated Show resolved Hide resolved
exporters/autoexport/metrics.go Outdated Show resolved Hide resolved
exporters/autoexport/metrics.go Outdated Show resolved Hide resolved
exporters/autoexport/metrics_test.go Show resolved Hide resolved
exporters/autoexport/metrics.go Outdated Show resolved Hide resolved
Copy link
Member

@pellared pellared left a comment

Choose a reason for hiding this comment

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

Probably the last comments from my side.

exporters/autoexport/metrics.go Outdated Show resolved Hide resolved
exporters/autoexport/metrics.go Outdated Show resolved Hide resolved
exporters/autoexport/metrics.go Outdated Show resolved Hide resolved
exporters/autoexport/metrics.go Outdated Show resolved Hide resolved
Copy link
Member

@pellared pellared left a comment

Choose a reason for hiding this comment

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

I just noticed that doc comment for NewMetricReader needs to be updated.

punya and others added 4 commits October 27, 2023 08:54
@pellared
Copy link
Member

Nice work 👍 I plan to merge it on Monday to give others chance to review.

@punya
Copy link
Member Author

punya commented Oct 27, 2023

Thanks for the detailed review @pellared.

@pellared pellared merged commit bead7e4 into open-telemetry:main Oct 31, 2023
22 checks passed
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.

autoexport: Add support for Prometheus
3 participants