1
0
mirror of https://github.com/prometheus/docs.git synced 2026-02-05 15:45:27 +01:00

Small amendment to the native histogram spec

This completes the list of functions acting on range vectors that
filter out native histograms.

Signed-off-by: beorn7 <beorn@grafana.com>
This commit is contained in:
beorn7
2024-12-13 00:05:34 +01:00
parent bf0e251c02
commit 1bb5774982

View File

@@ -2009,10 +2009,12 @@ functions below. Need to update the documentation for some of them.)
All remaining functions not mentioned in this section do _not_ work with native
histograms. Histogram elements in the input vector are silently ignored. (TODO:
Make sure this is the case, rather than treating histogram samples as floats
with value 0.) For `<aggregation>_over_time()` functions not mentioned before,
native histogram samples are removed from the input range vector. In case any
series contains a mix of float samples and histogram samples within the range,
the removal of histograms is flagged by an info-level annotation.
with value 0.) For `deriv()`, `double_exponential_smoothing()`,
`predict_linear()`, and all the `<aggregation>_over_time()` functions not
mentioned before, native histogram samples are removed from the input range
vector. In case any series contains a mix of float samples and histogram
samples within the range, the removal of histograms is flagged by an info-level
annotation.
### Recording rules