grafana/pkg/services/ngalert/eval
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
..
eval_test.go Alerting: Add Ref ID to DatasourceNoData and DatasourceError alerts (#42630) 2021-12-03 09:55:16 +00:00
eval.go Alerting: Add a "Reason" to Alert Instances to show underlying cause of state. (#49259) 2022-05-23 16:49:49 +08:00
evaluator_mock.go Alerting: update rule test endpoints to respect data source permissions (#47169) 2022-04-02 02:00:23 +02:00
extract_md_test.go Alerting: Classic conditions can now display multiple values (#46971) 2022-03-29 20:33:03 +01:00
extract_md.go Alerting: Accurately set value for prom-compatible APIs (#47216) 2022-04-05 19:36:42 +01:00