grafana/pkg/services/ngalert
Yuriy Tseretyan 8a88caaa71
Alerting: Rule evaluation loop refactoring (#40238)
* move evaluation function out of loop
* extract updateRule function
* isolate alertRule change. update returns new rule and the evaluation accepts the rule as argument
* extract retry loop into a function
* add function wide log context.
* refactor metrics + add tests + replace timeNow with schedule.clock
2021-11-02 17:04:13 -04:00
..
api Alerting: Support custom annotations and labels when testing contact points 2021-10-21 13:47:06 +01:00
eval Alerting: tune rule evaluation via configuration (#35623) 2021-09-28 13:00:16 +03:00
logging Alerting: Allow the notifier to log (#34232) 2021-05-17 18:06:47 +01:00
metrics Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
models Alerting: declare constants for __dashboardUid__ and __panelId__ literals (#39976) 2021-10-07 17:30:06 -04:00
notifier Alerting: Update references to alertmanager (#40904) 2021-10-29 10:03:51 -04:00
schedule Alerting: Rule evaluation loop refactoring (#40238) 2021-11-02 17:04:13 -04:00
sender Alerting: Refactor & fix unified alerting metrics structure (#39151) 2021-09-14 12:55:01 +01:00
state Alerting: declare constants for __dashboardUid__ and __panelId__ literals (#39976) 2021-10-07 17:30:06 -04:00
store Alerting: declare constants for __dashboardUid__ and __panelId__ literals (#39976) 2021-10-07 17:30:06 -04:00
tests Encryption: Refactor securejsondata.SecureJsonData to stop relying on global functions (#38865) 2021-10-07 17:33:50 +03:00
ngalert_test.go Alerting: tune rule evaluation via configuration (#35623) 2021-09-28 13:00:16 +03:00
ngalert.go Encryption: Refactor securejsondata.SecureJsonData to stop relying on global functions (#38865) 2021-10-07 17:33:50 +03:00