[exporter/prometheus] Document native histogram support#47733
Open
Vanshul97 wants to merge 1 commit intoopen-telemetry:mainfrom
Open
[exporter/prometheus] Document native histogram support#47733Vanshul97 wants to merge 1 commit intoopen-telemetry:mainfrom
Vanshul97 wants to merge 1 commit intoopen-telemetry:mainfrom
Conversation
Add a section to the README documenting that native histograms are supported via OpenMetrics protobuf format, and that exemplars are currently not supported for native histograms. Fixes open-telemetry#47160
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! |
dashpole
reviewed
Apr 18, 2026
|
|
||
| To use native histograms: | ||
|
|
||
| 1. Set `enable_open_metrics: true` in the exporter configuration. Native histograms are only available through the OpenMetrics protobuf content negotiation format. |
Contributor
There was a problem hiding this comment.
This doesn't sound correct. The prometheus protobuf format is not part of openmetrics (that has its own protobuf format which hasn't ever been implemented that I know of). It shouldn't require you to set enable_open_metrics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents native histogram support in the Prometheus exporter README.
Fixes #47160
Changes
Added a "Native Histograms" section to the README that documents:
enable_open_metrics: trueis required (protobuf content negotiation)