Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ForwardRequest ¶
ForwardRequest for proxying incoming requests
func NewForwardRequest ¶
func NewForwardRequest(method string, url url.URL) ForwardRequest
NewForwardRequest create a ForwardRequest
type PrometheusAlert ¶
type PrometheusAlert struct { Status string `json:"status"` Receiver string `json:"receiver"` Alerts []PrometheusInnerAlert `json:"alerts"` }
PrometheusAlert as produced by AlertManager
type PrometheusInnerAlert ¶
type PrometheusInnerAlert struct { Status string `json:"status"` Labels PrometheusInnerAlertLabel `json:"labels"` }
PrometheusInnerAlert PrometheusInnerAlert
type PrometheusInnerAlertLabel ¶
type PrometheusInnerAlertLabel struct { AlertName string `json:"alertname"` FunctionName string `json:"function_name"` }
PrometheusInnerAlertLabel PrometheusInnerAlertLabel
Click to show internal directories.
Click to hide internal directories.