mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06:00
* Introduce AlertsRouter in the sender package, and move all fields and methods related to notifications out of the scheduler to this router. * Introduce a new interface AlertsSender in the schedule package and replace calls of anonymous function `notify` inside the ruleRoutine to calling methods of that interface. * Rename interface Scheduler in api package to ExternalAlertmanagerProvider, and replace scheduler with AlertRouter as struct that implements the interface. |
||
---|---|---|
.. | ||
cache.go | ||
manager_private_test.go | ||
manager_test.go | ||
manager.go | ||
state_test.go | ||
state.go | ||
template_test.go | ||
template.go |