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 GitHub
parent ead59bdebf
commit 5dc84bf210
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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{