From 4f3a5742eb7cdaacb6ea43f590d1caa9f5e42381 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Sat, 21 Aug 2021 19:54:25 +0300 Subject: [PATCH] app/vmselect/prometheus: do not extend `[d]` to the detected interval between samples for `first_over_time(m[d])` This is for the sake of consistency with similar change for the last_over_time(m[d]) at a724229b5d6891ac9e97b4a7ae8be2c45da68f1f --- app/vmselect/promql/rollup.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/vmselect/promql/rollup.go b/app/vmselect/promql/rollup.go index c1e0cb622..b1f418ce0 100644 --- a/app/vmselect/promql/rollup.go +++ b/app/vmselect/promql/rollup.go @@ -170,6 +170,7 @@ var rollupFuncsCannotAdjustWindow = map[string]bool{ "ascent_over_time": true, "descent_over_time": true, "zscore_over_time": true, + "first_over_time": true, "last_over_time": true, }