VictoriaMetrics/app/vmalert/datasource
Haleygo b52f1d1f0a
vmalert: add evalAlignment for rule group and fix evalutaion timstamp (#5066)
* vmalert: add `query_time_alignment` for rule group

1. add `eval_alignment` attribute for group which by default is true. So group rule query stamp will be aligned with interval and propagated to ALERT metrics and the messages for alertmanager;
2. deprecate `datasource.queryTimeAlignment` flag.

https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5049
(cherry picked from commit 2aa0f5fc41)
2023-10-10 12:45:37 +02:00
..
datasource.go vmalert: add evalAlignment for rule group and fix evalutaion timstamp (#5066) 2023-10-10 12:45:37 +02:00
datasource_test.go vmalert: support rules backfilling (aka replay) (#1358) 2021-06-09 12:30:54 +03:00
init.go vmalert: add evalAlignment for rule group and fix evalutaion timstamp (#5066) 2023-10-10 12:45:37 +02:00
vm.go vmalert: add evalAlignment for rule group and fix evalutaion timstamp (#5066) 2023-10-10 12:45:37 +02:00
vm_graphite_api.go app/vmalert/datasource/graphite: allow overriding "from" parameter for datasource queries (#4687) 2023-07-22 14:18:52 -07:00
vm_prom_api.go vmalert: add evalAlignment for rule group and fix evalutaion timstamp (#5066) 2023-10-10 12:45:37 +02:00
vm_prom_api_test.go vmalert: add evalAlignment for rule group and fix evalutaion timstamp (#5066) 2023-10-10 12:45:37 +02:00
vm_test.go vmalert: add evalAlignment for rule group and fix evalutaion timstamp (#5066) 2023-10-10 12:45:37 +02:00