grafana/pkg/services/alerting
Armand Grillet 6523486122
Alerting: Make Unified Alerting enabled by default for those who do not use legacy alerting (#42200)
* update AlertingEnabled and UnifiedAlertingSettings.Enabled to be pointers
* add a pseudo migration to fix the AlertingEnabled and UnifiedAlertingSettings.Enabled if the latter is not defined
* update the default configuration file to make default value for both 'enabled' flags be undefined

Misc
* update Migrator to expose DB engine. This is needed for a ualert migration to access the database while the list of migrations is created.
* add more verbose failure when migrations do not match

Co-authored-by: gotjosh <josue@grafana.com>
Co-authored-by: Yuriy Tseretyan <yuriy.tseretyan@grafana.com>
Co-authored-by: gillesdemey <gilles.de.mey@gmail.com>
2021-11-24 14:56:07 -05: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 Dashboard: replace datasource name with a reference object (#33817) 2021-10-29 10:57:24 -07:00
alerting_usage_test.go Chore: Add alert ctx (#41161) 2021-11-03 14:10:39 +01:00
alerting_usage.go Chore: Add alert ctx (#41161) 2021-11-03 14:10:39 +01:00
engine_integration_test.go Chore: Refactor GoConvey in alerting tests (#40845) 2021-10-26 13:15:09 +02:00
engine_test.go Chore: Refactor GoConvey in alerting tests (#40845) 2021-10-26 13:15:09 +02:00
engine.go Alerting: Make Unified Alerting enabled by default for those who do not use legacy alerting (#42200) 2021-11-24 14:56:07 -05: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 Add context for GetAlertNotificationUidQuery (#41633) 2021-11-12 14:35:38 +01:00
extractor.go Add context for GetAlertNotificationUidQuery (#41633) 2021-11-12 14:35:38 +01: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