VictoriaMetrics/app/vmalert/datasource
Roman Khavronenko 0c95f928ae
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-09-23 10:22:53 +02:00
..
datasource_test.go vmalert: support rules backfilling (aka replay) (#1358) 2021-06-09 12:20:38 +03:00
datasource.go vmalert: print example of curl command for rule's state (#3112) 2022-09-15 12:40:22 +02:00
init.go vmalert: set default value for datasource.queryStep to 5m (#3149) 2022-09-23 10:22:53 +02:00
vm_graphite_api.go vmalert: introduce additional HTTP URL params per-group configuration (#1892) 2021-12-02 14:45:08 +02:00
vm_prom_api.go vmalert: remove a line added for debug (#2611) 2022-05-18 14:57:58 +02:00
vm_test.go vmalert: print example of curl command for rule's state (#3112) 2022-09-15 12:40:22 +02:00
vm.go vmalert: print example of curl command for rule's state (#3112) 2022-09-15 12:40:22 +02:00