grafana/pkg/services/ngalert/schedule
Yuriy Tseretyan 7b6437402a
Alerting: Refactor state manager's cache (#56197)
* remove ResetAllStates because it's not used
* refactor cache to accept logs, metrics and url as method args
* update manager Warm method to set the entire state at once
* remove unused reset method
* introduce ruleStates
* change getOrCreate to belong to ruleStates
* update Get to not return error
2022-10-06 15:30:12 -04:00
..
alerts_sender_mock.go Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
compat_test.go Alerting: Resolve stale state + add state reason to notifications (#49352) 2022-09-21 13:24:47 -04:00
compat.go Alerting: Resolve stale state + add state reason to notifications (#49352) 2022-09-21 13:24:47 -04:00
fetcher_test.go Alerting: Scheduler to use AlertRule (#52354) 2022-07-26 09:40:06 -04:00
fetcher.go Alerting: Scheduler to fetch folders along with rules (#52842) 2022-08-31 11:08:19 -04:00
registry_test.go Alerting: Scheduler to fetch folders along with rules (#52842) 2022-08-31 11:08:19 -04:00
registry.go Docs: Deprecating packages_api and removing it from our pipelines (#54473) 2022-09-01 18:15:44 +02:00
schedule_mock.go Alerting: Update rules delete endpoint to handle rules in group (#53790) 2022-08-24 15:33:33 -04:00
schedule_test.go Alerting: Refactor state manager's cache (#56197) 2022-10-06 15:30:12 -04:00
schedule_unit_test.go Alerting: Write and Delete multiple alert instances. (#55350) 2022-10-06 14:22:58 +08:00
schedule.go Alerting: Start ticker only when scheduler starts (#56339) 2022-10-05 09:35:02 -04:00
testing.go Alerting: Decouple schedule package from store (#55858) 2022-09-27 13:48:12 -05:00