2021-04-08 06:27:59 -05:00
|
|
|
package notifier
|
|
|
|
|
|
|
|
import (
|
2023-02-03 10:36:49 -06:00
|
|
|
alertingNotify "github.com/grafana/alerting/notify"
|
2021-04-08 06:27:59 -05:00
|
|
|
)
|
|
|
|
|
2023-02-03 10:36:49 -06:00
|
|
|
func (am *Alertmanager) GetAlerts(active, silenced, inhibited bool, filter []string, receivers string) (alertingNotify.GettableAlerts, error) {
|
2023-01-13 10:54:38 -06:00
|
|
|
return am.Base.GetAlerts(active, silenced, inhibited, filter, receivers)
|
2021-04-08 06:27:59 -05:00
|
|
|
}
|
|
|
|
|
2023-02-03 10:36:49 -06:00
|
|
|
func (am *Alertmanager) GetAlertGroups(active, silenced, inhibited bool, filter []string, receivers string) (alertingNotify.AlertGroups, error) {
|
2023-01-13 10:54:38 -06:00
|
|
|
return am.Base.GetAlertGroups(active, silenced, inhibited, filter, receivers)
|
2021-04-08 06:27:59 -05:00
|
|
|
}
|