Prometheus Ruleobject 4 direct references
Definition A resource following the monitoring.coreos.com/v1 PrometheusRule CRD format.
A PrometheusRule contains one or more rule groups, each evaluated at a common interval.
Groups may contain recording rules, alerting rules, or both.
API version of the PrometheusRule CRD.
"monitoring.coreos.com/v1"
Kind of the PrometheusRule CRD.
"PrometheusRule"
Metadata for the PrometheusRule resource, following Kubernetes metadata conventions.
Spec of the PrometheusRule resource containing rule groups.
Used by 4 These schemas and endpoints reference this type directly.
json
OpenAPI source {
"description": "A resource following the monitoring.coreos.com/v1 PrometheusRule CRD format.\nA PrometheusRule contains one or more rule groups, each evaluated at a common interval.\nGroups may contain recording rules, alerting rules, or both.\n",
"properties": {
"apiVersion": {
"$ref": "#/components/schemas/PrometheusRuleApiVersion"
},
"kind": {
"$ref": "#/components/schemas/PrometheusRuleKind"
},
"metadata": {
"$ref": "#/components/schemas/PrometheusRuleMetadata"
},
"spec": {
"$ref": "#/components/schemas/PrometheusRuleSpec"
}
},
"required": [
"apiVersion",
"kind",
"metadata",
"spec"
]
}