Skip to content

Commit 8cc21f6

Browse files
Merge pull request #1860 from JoaoBraveCoding/prometheusRuleRunbook
OCPBUGS-4219: Adds runbook link to PrometheusRuleFailures
2 parents 2f1182a + 467dc02 commit 8cc21f6

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
## 4.13
44

55
- [#1830](https://github.com/openshift/cluster-monitoring-operator/pull/1830) Add alert KubePodNotScheduled
6-
- [#1843](https://github.com/openshift/cluster-monitoring-operator/pull/1830) Node Exporter ignores network interface under name "enP.*".
6+
- [#1843](https://github.com/openshift/cluster-monitoring-operator/pull/1843) Node Exporter ignores network interface under name "enP.*".
7+
- [#1860](https://github.com/openshift/cluster-monitoring-operator/pull/1860) Adds runbook for PrometheusRuleFailures
78

89

910
## 4.12

assets/prometheus-k8s/prometheus-rule.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ spec:
195195
annotations:
196196
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has failed to
197197
evaluate {{ printf "%.0f" $value }} rules in the last 5m.
198+
runbook_url: https://github.com/openshift/runbooks/blob/master/alerts/cluster-monitoring-operator/PrometheusRuleFailures.md
198199
summary: Prometheus is failing rule evaluations.
199200
expr: |
200201
increase(prometheus_rule_evaluation_failures_total{job=~"prometheus-k8s|prometheus-user-workload"}[5m]) > 0

jsonnet/utils/sanitize-rules.libsonnet

+1
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,7 @@ local includeRunbooks = {
393393
NodeFilesystemSpaceFillingUp: openShiftRunbookCMO('NodeFilesystemSpaceFillingUp.md'),
394394
NodeRAIDDegraded: openShiftRunbookCMO('NodeRAIDDegraded.md'),
395395
NodeClockNotSynchronising: openShiftRunbookCMO('NodeClockNotSynchronising.md'),
396+
PrometheusRuleFailures: openShiftRunbookCMO('PrometheusRuleFailures.md'),
396397
PrometheusTargetSyncFailure: openShiftRunbookCMO('PrometheusTargetSyncFailure.md'),
397398
ThanosRuleQueueIsDroppingAlerts: openShiftRunbookCMO('ThanosRuleQueueIsDroppingAlerts.md'),
398399
ThanosRuleRuleEvaluationLatencyHigh: openShiftRunbookCMO('ThanosRuleRuleEvaluationLatencyHigh.md'),

0 commit comments

Comments
 (0)