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

exporters: prometheus: add expontential (native) histogram support #6421

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

GiedriusS
Copy link

Almost closes 5777.

Adding native (exponential) histogram support to the Prometheus exporter. I tested it with a toy program, and the result looks good. I added a unit test.

Copy link

linux-foundation-easycla bot commented Mar 7, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@GiedriusS
Copy link
Author

Signed CLA.

Copy link

codecov bot commented Mar 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.8%. Comparing base (e15c058) to head (1765699).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main   #6421     +/-   ##
=======================================
- Coverage   81.8%   81.8%   -0.1%     
=======================================
  Files        283     283             
  Lines      24910   24942     +32     
=======================================
+ Hits       20385   20405     +20     
- Misses      4120    4129      +9     
- Partials     405     408      +3     

see 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@GiedriusS GiedriusS force-pushed the nh_support_exporter branch from 4a2699c to 1765699 Compare March 18, 2025 14:29
@GiedriusS
Copy link
Author

Rebased PR on top of origin/main after #6433.

@ajatprabha
Copy link
Contributor

Do we need a documentation update on how to use this? If there is any explicit setup required.

@GiedriusS
Copy link
Author

Do we need a documentation update on how to use this? If there is any explicit setup required.

Should we document how to set up a view like this?

@dmathieu
Copy link
Member

We could possibly update the prometheus example to showcase this.

That examples folder is linked on the opentelemetry.io website.

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.

3 participants