mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
promql: emit correct annotation in quantile_over_time
when run over a range with histograms and floats
Signed-off-by: Charles Korn <charles.korn@grafana.com>
This commit is contained in:
parent
b74cebf6bf
commit
0964b6e584
|
@ -922,7 +922,7 @@ func funcQuantileOverTime(vals []parser.Value, args parser.Expressions, enh *Eva
|
|||
}
|
||||
if len(el.Histograms) > 0 {
|
||||
metricName := el.Metric.Get(labels.MetricName)
|
||||
annos.Add(annotations.NewHistogramIgnoredInAggregationInfo(metricName, args[0].PositionRange()))
|
||||
annos.Add(annotations.NewHistogramIgnoredInMixedRangeInfo(metricName, args[0].PositionRange()))
|
||||
}
|
||||
values := make(vectorByValueHeap, 0, len(el.Floats))
|
||||
for _, f := range el.Floats {
|
||||
|
|
Loading…
Reference in a new issue