grafana/pkg/services/ngalert/api
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
..
test-data Alerting: Modify endpoint for testing a datasource rule using the UID (#48070) 2022-05-17 14:10:20 +03:00
tooling Alerting: Attach screenshot data to Slack notifications. (#49374) 2022-05-23 14:24:20 +08:00
api.go Alerting: Provisioning GET routes for mute timings (#49044) 2022-05-17 13:42:48 -05:00
api_admin.go
api_alertmanager.go Unified Alerting: Validate PostableSilence API. (#46892) 2022-04-27 15:55:47 +08:00
api_alertmanager_test.go Indicate whether templates are provisioned (#49025) 2022-05-18 13:52:30 -05:00
api_prometheus.go Alerting: Add a "Reason" to Alert Instances to show underlying cause of state. (#49259) 2022-05-23 16:49:49 +08:00
api_prometheus_test.go Alerting: Fix anonymous access to alerting (#49203) 2022-05-19 09:22:26 -04:00
api_prometheus_test_fixtures.go Alerting: Display query from grafana-managed alert rules on `/api/v1/rules` (#45969) 2022-03-14 10:39:20 +00:00
api_provisioning.go Alerting: Provisioning GET routes for mute timings (#49044) 2022-05-17 13:42:48 -05:00
api_provisioning_test.go POST routes to PUT routes (#48828) 2022-05-06 14:33:30 -05:00
api_ruler.go Alerting: Fix anonymous access to alerting (#49203) 2022-05-19 09:22:26 -04:00
api_ruler_test.go Alerting: Fix anonymous access to alerting (#49203) 2022-05-19 09:22:26 -04:00
api_ruler_validation.go
api_ruler_validation_test.go
api_testing.go Alerting: Modify endpoint for testing a datasource rule using the UID (#48070) 2022-05-17 14:10:20 +03:00
api_testing_test.go Secrets: Implement basic unified secret store service (#45804) 2022-04-25 13:57:45 -03:00
authorization.go Alerting: Fix RBAC actions for notification policies (#49185) 2022-05-20 10:55:07 -04:00
authorization_test.go Remove unused error from evaluator Evaluate (#49305) 2022-05-20 10:26:57 +02:00
fork_ruler.go Alerting: modify ruler endpoints for proxying using the datasource UID (#48046) 2022-05-05 14:58:32 +03:00
forked_admin.go
forked_am.go Alerting: modify alertmanager endpoints for proxying using the datasource UID (#47978) 2022-04-29 10:25:22 +03:00
forked_prom.go Alerting: modify prometheus endpoints for proxying using the datasource UID (#48052) 2022-05-06 15:05:02 -04:00
forked_provisioning.go Alerting: Provisioning GET routes for mute timings (#49044) 2022-05-17 13:42:48 -05:00
forked_testing.go
generated_base_api_alertmanager.go Alerting: modify alertmanager endpoints for proxying using the datasource UID (#47978) 2022-04-29 10:25:22 +03:00
generated_base_api_configuration.go Alerting: update authorization logic to use proper legacy roles when fine-grained access is disabled (#46931) 2022-03-24 17:13:47 -04:00
generated_base_api_prometheus.go Alerting: modify prometheus endpoints for proxying using the datasource UID (#48052) 2022-05-06 15:05:02 -04:00
generated_base_api_provisioning.go Alerting: Provisioning GET routes for mute timings (#49044) 2022-05-17 13:42:48 -05:00
generated_base_api_ruler.go Alerting: modify ruler endpoints for proxying using the datasource UID (#48046) 2022-05-05 14:58:32 +03:00
generated_base_api_testing.go Alerting: Modify endpoint for testing a datasource rule using the UID (#48070) 2022-05-17 14:10:20 +03:00
lotex_am.go Alerting: modify alertmanager endpoints for proxying using the datasource UID (#47978) 2022-04-29 10:25:22 +03:00
lotex_prom.go Alerting: modify prometheus endpoints for proxying using the datasource UID (#48052) 2022-05-06 15:05:02 -04:00
lotex_ruler.go Alerting: modify ruler endpoints for proxying using the datasource UID (#48046) 2022-05-05 14:58:32 +03:00
lotex_ruler_test.go Alerting: modify ruler endpoints for proxying using the datasource UID (#48046) 2022-05-05 14:58:32 +03:00
promql_compat.go
promql_compat_test.go
testing.go Alerting: Remove mis-behaving fake and fix masked test failure in AM config API (#47747) 2022-04-13 19:31:57 -05:00
util.go Alerting: modify prometheus endpoints for proxying using the datasource UID (#48052) 2022-05-06 15:05:02 -04:00
util_test.go Alerting: Rename Recipient path parameter to DatasourceID (#47949) 2022-04-20 16:20:17 +03:00