prometheus operator v0.71.2

PrometheusRule.spec.groups[]

RuleGroup is a list of sequentially evaluated recording and alerting rules.

5 fields
PrometheusRule.spec.groups[] fields and descriptions
Field / TypeDescription
interval
string

Interval determines how often rules in the group are evaluated.

  • pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
limit
integer

Limit the number of alerts an alerting rule and series a recording rule can produce. Limit is supported starting with Prometheus >= 2.31 and Thanos Ruler >= 0.24.

name
string required

Name of the rule group.

  • minLength: 1
partial_response_strategy
string

PartialResponseStrategy is only used by ThanosRuler and will be ignored by Prometheus instances. More info: https://github.com/thanos-io/thanos/blob/main/docs/components/rule.md#partial-response

  • pattern: ^(?i)(abort|warn)?$
object[]

List of alerting and recording rules.