grafana/pkg/services/ngalert
gotjosh 442a6677fc
Alerting: Refactor Run of the scheduler (#37157)
* Alerting: Refactor `Run` of the scheduler

A bit of a refactor to make the diff easier to read for supporting
external Alertmanagers.

We'll introduce another routine that checks the database for
configuration and spawns other routines accordingly.

* Block the wait.

* Fix test
2021-07-27 11:52:59 +01:00
..
api Alerting: Refactor API endpoints for fetching alert rules (#37055) 2021-07-22 09:53:14 +03:00
eval Expand the value of math and reduce expressions in annotations and labels (#36611) 2021-07-15 13:10:56 +01:00
logging Alerting: Allow the notifier to log (#34232) 2021-05-17 18:06:47 +01:00
metrics actually register metrics this time (#34444) 2021-05-19 22:09:12 +02:00
models Alerting: Refactor API endpoints for fetching alert rules (#37055) 2021-07-22 09:53:14 +03:00
notifier Alerting: Remove unused fields in Pagerduty struct (#37198) 2021-07-27 10:41:48 +05:30
schedule Alerting: Refactor Run of the scheduler (#37157) 2021-07-27 11:52:59 +01:00
state Alerting: automatically remove stale alerting states (#36767) 2021-07-26 18:12:04 +02:00
store Alerting: automatically remove stale alerting states (#36767) 2021-07-26 18:12:04 +02:00
tests [Alerting]: namespace fixes (#34470) 2021-05-20 15:49:33 +03:00
ngalert.go Alerting: Refactor Run of the scheduler (#37157) 2021-07-27 11:52:59 +01:00