VictoriaMetrics/app
Anton Tykhyy 9f67f62f96
Fix sum(aggr_over_time) 'got 1 args' error (#3028) (#5414)
app/vmselect/promql/eval.go:evalAggrFunc shunts evaluation
of AggrFuncExpr over rollupFunc over MetricsExpr to an optimized
path. tryGetArgRollupFuncWithMetricExpr() checks whether expression
can be shunted, but it mangles the AggrFuncExpr when the aggregation
function has more than one argument. This results in queries like
`sum(aggr_over_time("avg_over_time",m))` failing with error message
'expecting at least 2 args to "aggr_over_time"; got 1 args' while
the analogous query `sum(avg_over_time(m))` executes successfully.
This fix removes the unnecessary mangling.

Signed-off-by: Anton Tykhyy <atykhyy@gmail.com>
2023-12-14 12:51:31 +02:00
..
victoria-metrics all: follow-up for 7a3e16e774 2023-03-12 01:16:58 -08:00
vmagent app/vmagent: fix check of the DataDog agent path requests when requests have trailing slashes (#5106) 2023-10-02 21:22:27 +02:00
vmalert app/vmalert: sanitize label names before sending to Alertmanager (#5442) 2023-12-08 18:11:49 +02:00
vmauth app/vmauth: do not return invalid credentials (#4288) 2023-05-17 00:11:40 -07:00
vmbackup vmbackup: correctly check if specified -dst belongs to specified -storageDataPath (#4841) 2023-08-17 13:54:09 +02:00
vmbackupmanager doc: add vmbackupmanager monitoring section (#3605) 2023-01-05 16:03:06 +01:00
vmctl vendor: run make vendor-update 2023-12-10 13:54:09 +02:00
vmgateway docs: update command-line descriptions after 73256fe438 2023-01-27 00:00:37 -08:00
vminsert lib/promrelabel: properly replace : char with _ in metric names when -usePromCompatibleNaming command-line flag is set 2023-08-17 13:54:50 +02:00
vmrestore all: run apk update && apk upgrade in base Alpine Docker image in order to get all the recent security fixes 2023-02-09 14:01:32 -08:00
vmselect Fix sum(aggr_over_time) 'got 1 args' error (#3028) (#5414) 2023-12-14 12:51:31 +02:00
vmstorage app/vmstorage: deprecate -bigMergeConcurrency command-line flag 2023-04-13 23:40:40 -07:00
vmui deployment/docker: update base Docker image from alpine:3.18.5 to alpine:3.19.0 2023-12-10 02:30:04 +02:00