grafana/pkg/services/ngalert/schedule
Yuri Tseretyan 85a954cd81
Alerting: Update scheduler to get updates only from database (#64635)
* stop using the scheduler's Update and Delete methods all communication must be via the database
* update scheduler's registry to calculate diff before re-setting the cache
* update fetcher to return the diff generated by registry
* update processTick to update rule eval routine if the rule was updated and it is not going to be evaluated at this tick.
* remove references to the scheduler from api package
* remove unused methods in the scheduler
2023-03-14 18:02:51 -04:00
..
alerts_sender_mock.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
compat_test.go Alerting: Update to alerting 20230203015918-0e4e2675d7aa (after refactoring) (#62823) 2023-02-03 11:36:49 -05:00
compat.go Alerting: Update to alerting 20230203015918-0e4e2675d7aa (after refactoring) (#62823) 2023-02-03 11:36:49 -05:00
fetcher_test.go Alerting: Scheduler to use AlertRule (#52354) 2022-07-26 09:40:06 -04:00
fetcher.go Alerting: Update scheduler to get updates only from database (#64635) 2023-03-14 18:02:51 -04:00
registry_test.go Alerting: Update scheduler to get updates only from database (#64635) 2023-03-14 18:02:51 -04:00
registry.go Alerting: Update scheduler to get updates only from database (#64635) 2023-03-14 18:02:51 -04:00
schedule_unit_test.go Alerting: Update scheduler to get updates only from database (#64635) 2023-03-14 18:02:51 -04:00
schedule.go Alerting: Update scheduler to get updates only from database (#64635) 2023-03-14 18:02:51 -04:00
testing.go Alerting: update test TestAlertingTicker to not rely on clock (#58544) 2022-11-09 15:08:57 -05:00