You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stabilize Prometheus Native Histogram -> OTLP (Exponential) Histogram (#4898)
Fixes#4748
## Changes
Enacted from
#4748 (comment)
- [x] The counter reset header is not mentioned -added
- [x] Stale NaN is not defined in the document - added link to code
where the bit representation can be found
- [x] Conversion of spans and counts is a bit hand-wavy, I understand
why you'd want to link to something - added precise wording and link
- [x] Off by one of the offset is mentioned, but it doesn't say if it's
-1 or +1 - precise now with explanation
- [x] NHCB (-53) schema is missing indeed - added
- [x] Prometheus has renamed the Created timestamp to Start timestamp to
be more aligned
- [x] I'm not sure if the overflow buckets of native histograms are
handled or how they work in OTel. Where do you count - values equal to
+-Inf or values outside float64 ? - these were indeed not handled,
specified now
Additionally added notes on `Count` and `Sum` for special value cases.
Note that the OTel metric data model does not have "MUST" requirements
on the special values or if the overall `Count` must be equal to the sum
of all buckets.
For non-trivial changes, follow the [change proposal
process](https://github.com/open-telemetry/opentelemetry-specification/blob/main/CONTRIBUTING.md#proposing-a-change).
* [ ] Related issues #
* [ ] Related [OTEP(s)](https://github.com/open-telemetry/oteps) #
* [ ] Links to the prototypes (when adding or changing features)
* [ ]
[`CHANGELOG.md`](https://github.com/open-telemetry/opentelemetry-specification/blob/main/CHANGELOG.md)
file updated for non-trivial changes
* For trivial changes, include `[chore]` in the PR title to skip the
changelog check
* [ ] [Spec compliance
matrix](https://github.com/open-telemetry/opentelemetry-specification/blob/main/spec-compliance-matrix/template.yaml)
updated if necessary
---------
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
0 commit comments