VictoriaMetrics/app/vmalert/datasource
Roman Khavronenko b1c6117a51
vmalert: fix replay step param (#3428)
The recent change in modifying default value
of `datasource.queryStep` flag resulted in situation
where replay mode was always running queries with
step=`datasource.queryStep`. When it should always
use rule's evaluation interval.

The fix is related not to replay mode only, but
for all Range requests. Now step param is set
individually for each mode.

Signed-off-by: hagen1778 <roman@victoriametrics.com>

Signed-off-by: hagen1778 <roman@victoriametrics.com>
2022-12-10 21:27:01 -08:00
..
datasource.go Vmalert compliance 2 (#2340) 2022-04-01 12:03:41 +03:00
datasource_test.go vmalert: support rules backfilling (aka replay) (#1358) 2021-06-09 12:30:54 +03:00
init.go docs/vmalert.md: follow-up for 0c95f928ae 2022-10-06 16:15:54 +03:00
type.go app/vmalert/datasource: use plain string literals instead of constants 2021-11-05 19:58:15 +02:00
vm.go lib/promauth: add ability to send additional http headers in requests to scrape targets 2022-06-22 20:40:50 +03:00
vm_graphite_api.go vmalert: introduce additional HTTP URL params per-group configuration (#1892) 2021-12-02 14:51:54 +02:00
vm_prom_api.go vmalert: fix replay step param (#3428) 2022-12-10 21:27:01 -08:00
vm_test.go vmalert: fix replay step param (#3428) 2022-12-10 21:27:01 -08:00