Browse Source

Merge pull request #13043 from bboreham/remove-h

PromQL: reduce garbage in range-query evaluation
pull/13053/head
Bryan Boreham 1 year ago committed by GitHub
parent
commit
6722a5bb86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      promql/engine.go

4
promql/engine.go

@ -1172,9 +1172,7 @@ func (ev *evaluator) rangeEval(prepSeries func(labels.Labels, *EvalSeriesHelper)
bufHelpers[i] = make([]EvalSeriesHelper, len(matrixes[i]))
for si, series := range matrixes[i] {
h := seriesHelpers[i][si]
prepSeries(series.Metric, &h)
seriesHelpers[i][si] = h
prepSeries(series.Metric, &seriesHelpers[i][si])
}
}
}

Loading…
Cancel
Save