grafana/pkg/services/ngalert/schedule
Alex Moreno 7a465f42a6
Alerting: Allow pausing alerts from provisioning (#62263)
* Allow pausing alerts from provisioning

* Update swagger

* Add IsPaused to provision export endpoints

* Add pause field in sample.yml

* Add exception for reset state in first loop iteration of scheduler if rule is paused

* Update provision definition and swagger docs

* Fix provisioning export tests

* Suggestion: Simplify if condition

* Add more context to a comment
2023-01-30 16:29:05 +01:00
..
alerts_sender_mock.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
compat_test.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
compat.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
fetcher_test.go Alerting: Scheduler to use AlertRule (#52354) 2022-07-26 09:40:06 -04:00
fetcher.go Alerting: Change severity level of fetcher log messages (#57299) 2022-10-19 16:00:47 -04:00
registry_test.go Alerting: Add alert pausing feature (#60734) 2023-01-26 18:29:10 +01:00
registry.go Alerting: Add alert pausing feature (#60734) 2023-01-26 18:29:10 +01:00
schedule_mock.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
schedule_unit_test.go Alerting: Add alert pausing feature (#60734) 2023-01-26 18:29:10 +01:00
schedule.go Alerting: Allow pausing alerts from provisioning (#62263) 2023-01-30 16:29:05 +01:00
testing.go Alerting: update test TestAlertingTicker to not rely on clock (#58544) 2022-11-09 15:08:57 -05:00