Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notifier ¶
type Notifier struct {
// contains filtered or unexported fields
}
Notifier is responsible for dispatching alert notifications to an alert manager service.
func (*Notifier) Alertmanagers ¶ added in v1.4.1
Alertmanagers returns a slice of Alertmanager URLs.
func (*Notifier) ApplyConfig ¶
ApplyConfig updates the status state as the new config requires.
type Options ¶
type Options struct { QueueCapacity int ExternalLabels model.LabelSet RelabelConfigs []*config.RelabelConfig // Used for sending HTTP requests to the Alertmanager. Do func(ctx context.Context, client *http.Client, req *http.Request) (*http.Response, error) Registerer prometheus.Registerer }
Options are the configurable parameters of a Handler.
Click to show internal directories.
Click to hide internal directories.