Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dispatcher ¶
type Dispatcher struct {
// contains filtered or unexported fields
}
Dispatcher is used to dispatch Prometheus alerts via email.
func NewDispatcher ¶
func NewDispatcher(conf *config.Configuration, log *zerolog.Logger) (*Dispatcher, error)
NewDispatcher creates a new dispatcher instance.
func (*Dispatcher) DispatchAlerts ¶
DispatchAlerts sends the provided alert(s) via email to the appropriate recipients.
Click to show internal directories.
Click to hide internal directories.