grafana/pkg/services/alerting
David Parrott a53b78df0c
Alerting: improve error on failure to remove query referenced by legacy alerting (#42169)
* Improve error and add test

* praise the linter!

* pr feedback

* guard against nil

* getters and setters

* Use IsEnabled instead of accessing struct
2021-12-02 07:41:24 -08:00
..
conditions Chore: Refactor usage of legacy data contracts (#41218) 2021-11-10 11:52:16 +01:00
notifiers remove the global log error/warn etc functions (#41404) 2021-11-08 17:56:56 +01:00
testdata Alerting: improve error on failure to remove query referenced by legacy alerting (#42169) 2021-12-02 07:41:24 -08:00
alerting_usage_test.go Replace AddHandler with AddHandlerCtx in tests (#42585) 2021-12-01 15:43:31 +01:00
alerting_usage.go Chore: Add context to datasource service (#42294) 2021-11-26 18:10:36 +01:00
engine_integration_test.go Chore: Refactor GoConvey in alerting tests (#40845) 2021-10-26 13:15:09 +02:00
engine_test.go Replace AddHandler with AddHandlerCtx in tests (#42585) 2021-12-01 15:43:31 +01:00
engine.go Chore: Add context to datasource service (#42294) 2021-11-26 18:10:36 +01:00
eval_context_test.go Plugins: Requests validator (#30445) 2021-02-03 20:47:45 +01:00
eval_context.go remove the global log error/warn etc functions (#41404) 2021-11-08 17:56:56 +01:00
eval_handler_test.go Chore: Refactor usage of legacy data contracts (#41218) 2021-11-10 11:52:16 +01:00
eval_handler.go Chore: Refactor usage of legacy data contracts (#41218) 2021-11-10 11:52:16 +01:00
extractor_test.go Alerting: improve error on failure to remove query referenced by legacy alerting (#42169) 2021-12-02 07:41:24 -08:00
extractor.go Alerting: improve error on failure to remove query referenced by legacy alerting (#42169) 2021-12-02 07:41:24 -08:00
interfaces.go Chore: Refactor usage of legacy data contracts (#41218) 2021-11-10 11:52:16 +01:00
models.go Chore: Fix various spelling errors in back-end code (#25241) 2020-06-01 17:11:25 +02:00
notifier_test.go Rendering: Add light theme for errors (#41616) 2021-11-17 12:18:47 +01:00
notifier.go Rendering: Add light theme for errors (#41616) 2021-11-17 12:18:47 +01:00
reader.go Add context for GetAlertNotificationUidQuery (#41633) 2021-11-12 14:35:38 +01:00
result_handler.go Chore: Fix pass context for SetAlertStateCommand (#42135) 2021-11-23 16:40:09 +01:00
rule_test.go Add context for GetAlertNotificationUidQuery (#41633) 2021-11-12 14:35:38 +01:00
rule.go Add context for GetAlertNotificationUidQuery (#41633) 2021-11-12 14:35:38 +01:00
scheduler.go Chore/fix lint issues (#27704) 2020-09-22 16:22:19 +02:00
service_test.go add context in the alert_notification (#41307) 2021-11-05 16:41:24 +08:00
service.go Replace encryption.Service usages by secrets.Service (#41625) 2021-11-12 12:16:39 +01:00
test_notification.go Fix issues with invalid Slack contact points (#41062) 2021-11-02 10:11:19 -03:00
test_rule.go Add context for GetAlertNotificationUidQuery (#41633) 2021-11-12 14:35:38 +01:00
ticker_test.go Chore/fix lint issues (#27704) 2020-09-22 16:22:19 +02:00
ticker.go AlertingNG: Create a scheduler to evaluate alert definitions (#29305) 2020-12-17 16:00:09 +02:00