Alert Prometheus Rule Group Rule Args
data class AlertPrometheusRuleGroupRuleArgs(val actions: Output<List<AlertPrometheusRuleGroupRuleActionArgs>>? = null, val alert: Output<String>? = null, val alertResolution: Output<AlertPrometheusRuleGroupRuleAlertResolutionArgs>? = null, val annotations: Output<Map<String, String>>? = null, val enabled: Output<Boolean>? = null, val expression: Output<String>, val for: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val record: Output<String>? = null, val severity: Output<Int>? = null) : ConvertibleToJava<AlertPrometheusRuleGroupRuleArgs>
Constructors
Link copied to clipboard
constructor(actions: Output<List<AlertPrometheusRuleGroupRuleActionArgs>>? = null, alert: Output<String>? = null, alertResolution: Output<AlertPrometheusRuleGroupRuleAlertResolutionArgs>? = null, annotations: Output<Map<String, String>>? = null, enabled: Output<Boolean>? = null, expression: Output<String>, for: Output<String>? = null, labels: Output<Map<String, String>>? = null, record: Output<String>? = null, severity: Output<Int>? = null)
Properties
Link copied to clipboard
An action
block as defined below.
Link copied to clipboard
An alert_resolution
block as defined below.
Link copied to clipboard
Specifies a set of informational labels that can be used to store longer additional information such as alert descriptions or runbook links.
Link copied to clipboard
Specifies the Prometheus Query Language expression to evaluate. For more details see this doc. Evaluate at the period given by interval
and record the result as a new set of time series with the metric name given by record
.