Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connector ¶
type Connector struct {
// contains filtered or unexported fields
}
Connector is the integration of prometheus/alertmanager
func (*Connector) HandleScaleAlerts ¶
func (c *Connector) HandleScaleAlerts(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
HandleScaleAlerts is the http end-point implementation for receiving alerts from alertmanager
func (*Connector) Register ¶
func (c *Connector) Register(handleFunc saa.ScaleAlertHandleFunc)
Register is used to register the given handler func. The ScaleAlertHandleFunc is called each time the alertmanager connector receives an alert.
Click to show internal directories.
Click to hide internal directories.