Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alert ¶
type Alert = alertmanagertemplate.Alert
Alert is an alert received from the Alertmanager
type AlertBucket ¶
type AlertBucket struct {
AlertGroups map[string]*AlertGroup
}
AlertBucket mutualizes alerts by Trap IDs
type AlertGroup ¶
type AlertGroup struct { OID string GroupID string GroupLabels map[string]string CommonLabels map[string]string CommonAnnotations map[string]string Severity string Alerts []Alert DeclaredAlerts []Alert }
AlertGroup type, with OID and group ID
type Alerts ¶
type Alerts = alertmanagertemplate.Alerts
Alerts is a set of alerts received from the Alertmanager
type AlertsData ¶
type AlertsData = alertmanagertemplate.Data
AlertsData is the alerts object received from the Alertmanager
type GetAlertGroupName ¶
GetAlertGroupName allows to retrieve a group name from a given alert
Click to show internal directories.
Click to hide internal directories.