Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sender ¶
type Sender struct {
// contains filtered or unexported fields
}
Sender is responsible for dispatching alert notifications to an external Alertmanager service.
func (*Sender) Alertmanagers ¶
Alertmanagers returns a list of the discovered Alertmanager(s).
func (*Sender) ApplyConfig ¶
func (s *Sender) ApplyConfig(cfg *ngmodels.AdminConfiguration) error
ApplyConfig syncs a configuration with the sender.
func (*Sender) DroppedAlertmanagers ¶
DroppedAlertmanagers returns a list of Alertmanager(s) we no longer send alerts to.
func (*Sender) SendAlerts ¶
func (s *Sender) SendAlerts(alerts apimodels.PostableAlerts)
SendAlerts sends a set of alerts to the configured Alertmanager(s).
Click to show internal directories.
Click to hide internal directories.