mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
a6b1090879
* 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. |
||
---|---|---|
.. | ||
router.go | ||
sender.go |