docs(promql): say what draining the histograms after an early stop is for

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>
This commit is contained in:
Dennis Zhuang
2026-10-18 12:08:07 +08:00
parent 328218776d
commit bd9f7dc40b
+1 -1
View File
@@ -117,7 +117,7 @@ fn aggregate_point<'a>(
SampleRef::Histogram(view) => Some(FloatHistogram::try_from_view(&view)),
});
let value = sum_or_avg(op, histograms.by_ref())?;
// An early stop leaves samples whose floats and conversion errors still count.
// A fold stopped by mixed bucket kinds still reports conversion errors of later samples.
for histogram in histograms {
histogram?;
}