mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 12:14:08 -06:00
f066e8cdcd
* add alerting prefix to some packages from alerting that have similar names in prometheus alertmanager
14 lines
531 B
Go
14 lines
531 B
Go
package notifier
|
|
|
|
import (
|
|
alertingNotify "github.com/grafana/alerting/notify"
|
|
)
|
|
|
|
func (am *Alertmanager) GetAlerts(active, silenced, inhibited bool, filter []string, receivers string) (alertingNotify.GettableAlerts, error) {
|
|
return am.Base.GetAlerts(active, silenced, inhibited, filter, receivers)
|
|
}
|
|
|
|
func (am *Alertmanager) GetAlertGroups(active, silenced, inhibited bool, filter []string, receivers string) (alertingNotify.AlertGroups, error) {
|
|
return am.Base.GetAlertGroups(active, silenced, inhibited, filter, receivers)
|
|
}
|