Skip to content

[exporter/prometheus]: Add exemplar support for exponential histograms#47213

Merged
songy23 merged 3 commits intoopen-telemetry:mainfrom
Naman-B-Parlecha:namanparlecha/exemplar-exponential-histogram
Apr 1, 2026
Merged

[exporter/prometheus]: Add exemplar support for exponential histograms#47213
songy23 merged 3 commits intoopen-telemetry:mainfrom
Naman-B-Parlecha:namanparlecha/exemplar-exponential-histogram

Conversation

@Naman-B-Parlecha
Copy link
Copy Markdown
Contributor

@Naman-B-Parlecha Naman-B-Parlecha commented Mar 27, 2026

Description

Exponential histograms exported as Prometheus native histograms has missing exemplar data. This will add exemplars to exported exponential histogram.

Link to tracking issue

Fixes #47159

Testing

  • Added TestConvertExponentialHistogramExemplar that test the exemplars support with exponential histograms

Documentation

Signed-off-by: Naman-B-Parlecha <namanparlecha@gmail.com>
@github-actions github-actions bot added the first-time contributor PRs made by new contributors label Mar 27, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Welcome, contributor! Thank you for your contribution to opentelemetry-collector-contrib.

Important reminders:

A maintainer will review your pull request soon. Thank you for helping make OpenTelemetry better!

@paulojmdias
Copy link
Copy Markdown
Member

/workflow-approve

Signed-off-by: Naman-B-Parlecha <namanparlecha@gmail.com>
Signed-off-by: Naman-B-Parlecha <namanparlecha@gmail.com>
@Naman-B-Parlecha
Copy link
Copy Markdown
Contributor Author

@iblancasa added requested changes PTAL!!
Thanks!!

Copy link
Copy Markdown
Member

@ArthurSens ArthurSens left a comment

Choose a reason for hiding this comment

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

@perebaj, heads up that this will create merge conflicts in #46426 I think

@ArthurSens ArthurSens added the ready to merge Code review completed; ready to merge by maintainers label Apr 1, 2026
@songy23 songy23 merged commit 863132a into open-telemetry:main Apr 1, 2026
207 checks passed
@otelbot
Copy link
Copy Markdown
Contributor

otelbot bot commented Apr 1, 2026

Thank you for your contribution @Naman-B-Parlecha! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this survey. If you are getting started contributing, you can also join the CNCF Slack channel #opentelemetry-new-contributors to ask for guidance and get help.

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

Labels

exporter/prometheus first-time contributor PRs made by new contributors ready to merge Code review completed; ready to merge by maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Exemplars support for native Prometheus histograms in prometheusexporter

7 participants