VictoriaMetrics/app
Anton Tykhyy 8754d49186
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:52:47 +02:00
..
vmagent app/vmagent: fix check of the DataDog agent path requests when requests have trailing slashes (#5106) 2023-10-02 21:22:39 +02:00
vmalert app/vmalert: sanitize label names before sending to Alertmanager (#5442) 2023-12-08 18:12:42 +02:00
vmauth app/vmauth: do not return invalid credentials (#4288) 2023-05-17 00:11:50 -07:00
vmbackup vmbackup: correctly check if specified -dst belongs to specified -storageDataPath (#4841) 2023-08-17 13:54:17 +02:00
vmbackupmanager doc: add vmbackupmanager monitoring section (#3605) 2023-01-05 16:49:59 -08:00
vmctl vendor: run make vendor-update 2023-12-10 13:54:19 +02:00
vmgateway docs: update command-line descriptions after 73256fe438 2023-01-27 00:01:14 -08:00
vminsert fixed ingestion via multitenant url for opentsdbhttp (#5061) (#5063) 2023-10-01 21:05:47 +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:03:02 -08:00
vmselect Fix sum(aggr_over_time) 'got 1 args' error (#3028) (#5414) 2023-12-14 12:52:47 +02:00
vmstorage app/vmstorage: deprecate -bigMergeConcurrency command-line flag 2023-04-13 23:42:12 -07:00
vmui deployment/docker: update base Docker image from alpine:3.18.5 to alpine:3.19.0 2023-12-10 02:30:17 +02:00