app/vmselect/promql: allow setting [d] window smaller than the interval between raw points for avg_over_time

This makes `avg_over_time` behavior consistent with `sum_over_time` and `count_over_time` behaviors.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/636
This commit is contained in:
Aliaksandr Valialkin 2020-07-23 22:24:28 +03:00
parent fb3d1380ac
commit 88e8bed0c9

View file

@ -135,6 +135,7 @@ var rollupFuncsCannotAdjustWindow = map[string]bool{
"increase": true,
"predict_linear": true,
"resets": true,
"avg_over_time": true,
"sum_over_time": true,
"count_over_time": true,
"quantile_over_time": true,