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