prometheus operator v0.71.2
PrometheusRule.spec.groups.rules
List of alerting and recording rules.
| Field / Type | Description |
|---|---|
alert | Name of the alert. Must be a valid label value. Only one of `record` and `alert` must be set. |
Annotations to add to each alert. Only valid for alerting rules. | |
PromQL expression to evaluate.
| |
for | Alerts are considered firing once they have been returned for this long.
|
keep_firing_for | KeepFiringFor defines how long an alert will continue firing after the condition that triggered it has cleared.
|
Labels to add or overwrite. | |
record | Name of the time series to output to. Must be a valid metric name. Only one of `record` and `alert` must be set. |