Repository navigation
Conversation
Stabilize the OpenTelemetry Exponential Histogram to Prometheus Native Histogram with standard (exponential) schema transformation. Follows open-telemetry#5121 Fixes: 4922
05b4834 to
8912083
Compare
Pull request dashboard statusWaiting on the author · refreshed 2026-11-09 09:03 UTC Respond to 1 review item (e.g. link a commit, explain why not, ask a follow-up):
Status above doesn't look right?
|
|
This PR was marked stale. It will be closed in 14 days without additional activity. |
|
@krajorama can we move forward with this now that #5273 is resolved? |
Yes, I think so , the one open question was resolved here #5125 (comment) |
|
@ArthurSens @aknuds1 PTAL for prometheus SIG approval @jmacd @jsuereth @jack-berg PTAL for a second approval. |
Probably a typo? |
There was a problem hiding this comment.
Please see my changelog comment.
Otherwise, I found a potential existing issue in the section being stabilized: an unset ZeroThreshold becomes 1e-128, which can put populated regular buckets entirely inside the zero range. Should unset ZeroThreshold be treated as 0 instead, before stabilizing?
|
Looking at the implementations across the ecosystem, it seems like the zero threshold is indeed implemented differently in several places A few use 0, others use |
This sounds correct to me. This doesn't seem like a bug? We should bring these (and any other conversion logic for this in the collector, sdk exporters, and bridges) into compliance after we do "ZeroThreshold be treated as 0 instead, before stabilizing". |
|
Hi @krajorama — just a friendly reminder that this pull request is waiting on you. The dashboard status comment has the open items and is kept current.
|
Me too. Arve is right the problem is that we can overlap with actual buckets since 1e-128 isn't even close to how low exponential buckets can get.
Agree opening PR: #5418 |
|
Blocked until #5418 is merged. |
…52834) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Preserve ZeroThreshold in remote-write v1/v2 exporters and Prometheus exporter, as discussed in open-telemetry/opentelemetry-specification#5272 (comment) <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes <!--Describe what testing was performed and which tests were added.--> #### Testing <!--Describe the documentation added.--> #### Documentation <!--Authorship attestation. See AGENTS.md for details. AI agents must not check this box on behalf of the user; the human author must check it themselves before the PR is ready for review.--> #### Authorship - [x] I, a human, wrote this pull request description myself. <!--Please delete paragraphs that you did not use before submitting.--> --------- Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
Blocked on general discussion in #5273 first.Follows #5125
Fixes #4922
Changes
Stabilize the OpenTelemetry Exponential Histogram to Prometheus Native Histogram with standard (exponential) schema transformation.
Please provide a brief description of the changes here.
For non-trivial changes, follow the change proposal process.
CHANGELOG.mdfile updated for non-trivial changes[chore]in the PR title to skip the changelog check