PrometheusRule.spec.groups[].rules[]
Rule describes an alerting or recording rule See Prometheus documentation: [alerting](https://www.prometheus.io/docs/prometheus/latest/configuration/alerting_rules/) or [recording](https://www.prometheus.io/docs/prometheus/latest/configuration/recording_rules/#recording-rules) rule
| 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. |