mirror of
https://github.com/prometheus/prometheus
synced 2025-03-20 18:26:49 +00:00
Merge pull request #16018 from charleskorn/charleskorn/quantile_over_time-annotation
promql: emit correct annotation in `quantile_over_time` when run over a range with histograms and floats
This commit is contained in:
commit
fcc8e49d65
@ -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 New Issue
Block a user