Alert Prometheus Rule Group Rule
data class AlertPrometheusRuleGroupRule(val actions: List<AlertPrometheusRuleGroupRuleAction>? = null, val alert: String? = null, val alertResolution: AlertPrometheusRuleGroupRuleAlertResolution? = null, val annotations: Map<String, String>? = null, val enabled: Boolean? = null, val expression: String, val for: String? = null, val labels: Map<String, String>? = null, val record: String? = null, val severity: Int? = null)
Constructors
Link copied to clipboard
fun AlertPrometheusRuleGroupRule(actions: List<AlertPrometheusRuleGroupRuleAction>? = null, alert: String? = null, alertResolution: AlertPrometheusRuleGroupRuleAlertResolution? = null, annotations: Map<String, String>? = null, enabled: Boolean? = null, expression: String, for: String? = null, labels: Map<String, String>? = null, record: String? = null, severity: Int? = null)
Types
Properties
Link copied to clipboard
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
.