VictoriaMetrics/app/vmalert/rule
Hui Wang 6ff1de89a9
Some checks failed
publish-docs / Build (push) Waiting to run
build / Build (push) Has been cancelled
CodeQL Go / Analyze (push) Has been cancelled
main / lint (push) Has been cancelled
main / test (test-full) (push) Has been cancelled
main / test (test-full-386) (push) Has been cancelled
main / test (test-pure) (push) Has been cancelled
main / integration-test (push) Has been cancelled
vmalert: fix alert states restoration (#7624)
Previously, when the alert got resolved shortly before the vmalert
process shuts down, this could result in false alerts.

This change switches vmalert to use MetricsQL function during alerts state restore, which makes it
incompatible for state restoration with PromQL.

---------

Co-authored-by: Roman Khavronenko <roman@victoriametrics.com>
2024-11-22 09:11:31 +01:00
..
alerting_test.go vmalert: fix alert states restoration (#7624) 2024-11-22 09:11:31 +01:00
alerting.go vmalert: fix alert states restoration (#7624) 2024-11-22 09:11:31 +01:00
group_test.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 12:23:39 +01:00
group.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 12:23:39 +01:00
recording_test.go app/vmalert: fix flaky ut TestRecordingRule_Exec 2024-11-14 15:30:39 +01:00
recording.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 12:23:39 +01:00
rule_test.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
rule.go docs: update vmalert and vmagent docs (#6207) 2024-04-30 10:27:06 +02:00
test_helpers.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 12:23:39 +01:00
utils_test.go docs: fixes misspelled typos 2024-09-13 12:14:24 +02:00
utils.go app/vmalert: improve performances when rules produce large volumes of results 2024-11-14 12:23:39 +01:00