VictoriaMetrics/app
Anton Tykhyy 66c76a4d4d
Fix sum(aggr_over_time) 'got 1 args' error () ()
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:38:54 +02:00
..
victoria-logs app/vlselect: handle vmui at /select/vmui path instead of /vmui 2023-06-21 19:52:50 -07:00
victoria-metrics app: make more clear that -tls enables https at -httpListenAddr 2023-12-10 00:25:01 +02:00
vlinsert Add _stream fields log () 2023-11-17 15:58:52 +01:00
vlselect vmui: reduced the number of server requests () 2023-11-14 01:50:00 +01:00
vlstorage lib/logstorage: follow-up for 8a23d08c21 2023-10-02 16:52:23 +02:00
vmagent app: make more clear that -tls enables https at -httpListenAddr 2023-12-10 00:25:01 +02:00
vmalert app: make more clear that -tls enables https at -httpListenAddr 2023-12-10 00:25:01 +02:00
vmalert-tool vmalert-tool: fix alert_rule_test case when eval_time is not multiple of evaluation_interval () 2023-12-01 12:17:24 +01:00
vmauth app/vmauth: allow specifying an empty retry_status_codes and and zero drop_src_path_prefix_parts in order to override user-level setting 2023-12-14 01:04:56 +02:00
vmbackup docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:21:00 +02:00
vmbackupmanager docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:21:00 +02:00
vmctl app/vmctl: follow-up after 6af732b6f7 2023-12-12 13:44:21 +01:00
vmgateway docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:21:00 +02:00
vminsert Revert "add datadog /api/v2/series and /api/beta/sketches support ()" 2023-12-05 02:26:22 +02:00
vmrestore docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:21:00 +02:00
vmselect Fix sum(aggr_over_time) 'got 1 args' error () () 2023-12-14 12:38:54 +02:00
vmstorage lib/storage: stop exposing vm_merge_need_free_disk_space metric 2023-09-25 16:52:39 +02:00
vmui vmui: autocomplete usability improvements () 2023-12-13 00:32:41 +02:00