mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-20 07:19:17 +01:00
app/vmselect/promql: measure the time required for calculating the aggregate function from the prepared source time series
This commit is contained in:
parent
dce8afa4c4
commit
8efa9159cf
@ -390,7 +390,9 @@ func evalAggrFunc(qt *querytracer.Tracer, ec *EvalConfig, ae *metricsql.AggrFunc
|
||||
args: args,
|
||||
ec: ec,
|
||||
}
|
||||
qtChild := qt.NewChild("eval %s", ae.Name)
|
||||
rv, err := af(afa)
|
||||
qtChild.Done()
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf(`cannot evaluate %q: %w`, ae.AppendString(nil), err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user