VictoriaMetrics/app/vmalert/datasource
Roman Khavronenko 8e9eccd409
vmalert: set default value for datasource.queryStep to 5m (#3149)
Change default value for command-line flag `datasource.queryStep` from `0s` to `5m`.
Param `step` is added by vmalert to every rule evaluation request sent to datasource.
Before this change, `step` was equal to group's evaluation interval by default.
Param `step` for instant queries defines how far VM can look back for the last written data point.
The change supposed to improve reliability of the rules evaluation when evaluation interval
is lower than scraping interval.

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

Signed-off-by: hagen1778 <roman@victoriametrics.com>
2022-10-06 16:15:53 +03: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 vmalert: set default value for datasource.queryStep to 5m (#3149) 2022-10-06 16:15:53 +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: remove a line added for debug (#2611) 2022-05-20 14:08:57 +03:00
vm_test.go lib/promauth: add ability to send additional http headers in requests to scrape targets 2022-06-22 20:40:50 +03:00