mirror of
https://github.com/prometheus/prometheus.git
synced 2025-07-01 18:21:21 +00:00
![]() * fix(promql): histogram_quantile NaN observed in native histogram Fixes: #16578 See the issue for detailed explanation. When a histogram had only NaN observations and no normal observations, we returned 0 from the quantile, which is completely wrong. If there were normal observations but we went over them, we returned the upper bound of the existing buckets, however that contradicts expectations on histogram_fraction. Now we return NaN if the quantile is calculated to be over all normal observations, falling into NaNs (in a virtual +Inf bucket). We also return info level annotations if we see any NaN observations. The annotation calls out if we returned NaN or even if we took the virtual +Inf bucket into account. Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com> * fix(promql): histogram_fraction NaN observed in native histogram Fixes: #16580 According to the specification we should not take NaN observations into account when calculating the fraction. This commit fixes that and adds an info level annotation to let the user know about this. Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com> |
||
---|---|---|
.. | ||
almost | ||
annotations | ||
compression | ||
convertnhcb | ||
documentcli | ||
fmtutil | ||
gate | ||
httputil | ||
jsonutil | ||
junitxml | ||
logging | ||
netconnlimit | ||
notifications | ||
osutil | ||
pool | ||
runtime | ||
runutil | ||
stats | ||
strutil | ||
teststorage | ||
testutil | ||
treecache | ||
zeropool |