tech(alerting): add logging about failed notifications

This commit is contained in:
bergquist
2016-06-15 09:19:22 +02:00
parent 9a8416416d
commit b9b65cf2d4
4 changed files with 55 additions and 27 deletions

View File

@@ -10,3 +10,7 @@ type Scheduler interface {
Tick(time time.Time, execQueue chan *AlertJob)
Update(rules []*AlertRule)
}
type Notifier interface {
Notify(alertResult *AlertResult)
}