grafana/pkg/services/ngalert/models
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
..
admin_configuration_test.go Alerting: send alerts to external, internal, or both alertmanagers (#40341) 2022-02-01 20:36:55 -03:00
admin_configuration.go Alerting: send alerts to external, internal, or both alertmanagers (#40341) 2022-02-01 20:36:55 -03:00
alert_query_test.go Alerting: Display query from grafana-managed alert rules on /api/v1/rules (#45969) 2022-03-14 10:39:20 +00:00
alert_query.go Alerting: Display query from grafana-managed alert rules on /api/v1/rules (#45969) 2022-03-14 10:39:20 +00:00
alert_rule_test.go Alerting: Revert Revert "Alerting: Calculate diff for two AlertRules" (#46034) 2022-03-01 11:10:29 -05:00
alert_rule.go Alerting: State Manager takes screenshots. (#49338) 2022-05-23 10:53:41 +08:00
alertmanager.go Alerting: add collision safe update function for alertmanager configurations (#46692) 2022-03-23 09:31:46 +01:00
eval_condition.go [Alerting]: Implement test rule API route (#32837) 2021-04-13 20:58:34 +03:00
instance_labels.go Alerting: Fix state cache id duplication (#33480) 2021-04-28 11:42:19 -04:00
instance.go Alerting: Add a "Reason" to Alert Instances to show underlying cause of state. (#49259) 2022-05-23 16:49:49 +08:00
provisioning.go Drop ProvenanceOrgAdapter and build into store API instead (#48137) 2022-04-26 10:30:57 -05:00
testing.go Alerting: introduce AlertRuleGroupKey and use it in API handlers (#48945) 2022-05-16 15:45:45 -04:00