Skip to content

Commit 3af47bd

Browse files
machine424openshift-cherrypick-robot
authored andcommitted
chore(alerts): link runbook to PrometheusKubernetesListWatchFailures
1 parent 561a1e8 commit 3af47bd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

assets/prometheus-k8s/prometheus-rule.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ spec:
3939
- alert: PrometheusKubernetesListWatchFailures
4040
annotations:
4141
description: Kubernetes service discovery of Prometheus {{$labels.namespace}}/{{$labels.pod}} is experiencing {{ printf "%.0f" $value }} failures with LIST/WATCH requests to the Kubernetes API in the last 5 minutes.
42+
runbook_url: https://github.com/openshift/runbooks/blob/master/alerts/cluster-monitoring-operator/PrometheusKubernetesListWatchFailures.md
4243
summary: Requests in Kubernetes SD are failing.
4344
expr: |
4445
increase(prometheus_sd_kubernetes_failures_total{job=~"prometheus-k8s|prometheus-user-workload"}[5m]) > 0

jsonnet/utils/sanitize-rules.libsonnet

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,7 @@ local includeRunbooks = {
496496
PrometheusOperatorRejectedResources: openShiftRunbookCMO('PrometheusOperatorRejectedResources.md'),
497497
PrometheusDuplicateTimestamps: openShiftRunbookCMO('PrometheusDuplicateTimestamps.md'),
498498
PrometheusPossibleNarrowSelectors: openShiftRunbookCMO('PrometheusPossibleNarrowSelectors.md'),
499+
PrometheusKubernetesListWatchFailures: openShiftRunbookCMO('PrometheusKubernetesListWatchFailures.md'),
499500
PrometheusRuleFailures: openShiftRunbookCMO('PrometheusRuleFailures.md'),
500501
PrometheusRemoteStorageFailures: openShiftRunbookCMO('PrometheusRemoteStorageFailures.md'),
501502
PrometheusScrapeBodySizeLimitHit: openShiftRunbookCMO('PrometheusScrapeBodySizeLimitHit.md'),

0 commit comments

Comments
 (0)