mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-11-14 06:46:56 +00:00
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:
@@ -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?;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user