PrometheusRule defines recording and alerting rules for a Prometheus instance
Last changed in Prometheus Operator v0.74.0
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Specification of desired alerting rule definitions for Prometheus.
Content of Prometheus rule file
Interval determines how often rules in the group are evaluated.
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 of the rule group.
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
List of alerting and recording rules.
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.
Alerts are considered firing once they have been returned for this long.
KeepFiringFor defines how long an alert will continue firing after the condition that triggered it has cleared.
Labels to add or overwrite.
Name of the time series to output to. Must be a valid metric name. Only one of `record` and `alert` must be set.
Source: bundle.yaml
Changes to PrometheusRule (monitoring.coreos.com/v1) in each Prometheus Operator version, compared to the version before it.
7 properties have changed the description
Released · View PrometheusRule in v0.74.0
1 property has been added
Released · View PrometheusRule in v0.66.0
10 properties have changed the description
Released · View PrometheusRule in v0.61.0
The description of PrometheusRule has changed
Released · View PrometheusRule in v0.44.0
1 property has been added
Released · View PrometheusRule in v0.36.0
16 properties have been removed
3 properties have changed type
1 property is now required
The description of PrometheusRule has changed
2 properties have changed the description
Released · View PrometheusRule in v0.35.0
2 properties have been added
2 properties have been removed
7 properties have changed the description
Released · View PrometheusRule in v0.34.0
1 property has been added
Released · View PrometheusRule in v0.32.0
1 property has been added
Released · View PrometheusRule in v0.30.0
1 property has changed the description
Released · View PrometheusRule in v0.25.0
1 property has changed type
Released · View PrometheusRule in v0.24.0
1 property is no longer required
The description of PrometheusRule has changed
2 properties have changed the description
Released · View PrometheusRule in v0.22.0
PrometheusRule was first seen on this version of Prometheus Operator
Released · View PrometheusRule in v0.20.0
No examples of PrometheusRule yet. Contribute one on GitHub.