app/vmselect: disable time-window adjustment for min/max_over_time funcs (#1658)

Adjustment results into discrepancy between Prometheus and VM on time windows
smaller than scrape interval.

Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
Roman Khavronenko 2021-09-29 00:43:21 +03:00 committed by Aliaksandr Valialkin
parent 428c03c3b8
commit 444a8882f4
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -174,6 +174,8 @@ var rollupFuncsCannotAdjustWindow = map[string]bool{
"zscore_over_time": true,
"first_over_time": true,
"last_over_time": true,
"min_over_time": true,
"max_over_time": true,
}
var rollupFuncsRemoveCounterResets = map[string]bool{