grafana/pkg/services/ngalert/schedule
Joe Blubaugh 1cc034d960
Alerting: Add a "Reason" to Alert Instances to show underlying cause of state. (#49259)
This change adds a field to state.State and models.AlertInstance
that indicate the "Reason" that an instance has its current state. This
helps us account for cases where the state is "Normal" but the
underlying evaluation returned "NoData" or "Error", for example.

Fixes #42606

Signed-off-by: Joe Blubaugh <joe.blubaugh@grafana.com>
2022-05-23 16:49:49 +08:00
..
compat_test.go Alerting: State Manager takes screenshots. (#49338) 2022-05-23 10:53:41 +08:00
compat.go Alerting: State Manager takes screenshots. (#49338) 2022-05-23 10:53:41 +08:00
fetcher.go Alerting: scheduler to use short version of model for alert rule (#48916) 2022-05-12 09:55:05 -04:00
registry_test.go Alerting: Move alertRuleRegistry to its own file (#48890) 2022-05-11 10:04:50 -04:00
registry.go Alerting: Move alertRuleRegistry to its own file (#48890) 2022-05-11 10:04:50 -04:00
schedule_mock.go Alerting: rules delete API to check data source authorization (#46906) 2022-03-25 12:39:24 -04:00
schedule_test.go Alerting: Add a general screenshot service and alerting-specific image service. (#49293) 2022-05-22 22:33:49 +08:00
schedule_unit_test.go Alerting: Add a general screenshot service and alerting-specific image service. (#49293) 2022-05-22 22:33:49 +08:00
schedule.go Alerting: Add a "Reason" to Alert Instances to show underlying cause of state. (#49259) 2022-05-23 16:49:49 +08:00
testing.go Alerting: move fake stores to store package (#45428) 2022-02-15 17:24:39 -05:00