AlertmanagerWebhookPayload
public struct AlertmanagerWebhookPayload : Content
Prometheus Alertmanager webhook payload. Applied from https://prometheus.io/docs/alerting/latest/configuration/#webhook_config
-
Declaration
Swift
var version: String
-
Key identifying the group of alerts (e.g. to deduplicate).
Declaration
Swift
var groupKey: String
-
How many alerts have been truncated due to “max_alerts”.
Declaration
Swift
var truncatedAlerts: Int
-
Declaration
Swift
var status: String
-
Declaration
Swift
var receiver: String
-
Declaration
Swift
var groupLabels: [String : String]
-
Declaration
Swift
var commonLabels: [String : String]
-
Declaration
Swift
var commonAnnotations: [String : String]
-
backlink to the Alertmanager.
Declaration
Swift
var externalURL: String
-
Declaration
Swift
var alerts: [AlertmanagerAlert]