Skip to content

Commit f256ef7

Browse files
committed
chore(alerts): link runbook to PrometheusKubernetesListWatchFailures
1 parent c316344 commit f256ef7

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
@@ -518,6 +518,7 @@ local includeRunbooks = {
518518
PrometheusOperatorRejectedResources: openShiftRunbookCMO('PrometheusOperatorRejectedResources.md'),
519519
PrometheusDuplicateTimestamps: openShiftRunbookCMO('PrometheusDuplicateTimestamps.md'),
520520
PrometheusPossibleNarrowSelectors: openShiftRunbookCMO('PrometheusPossibleNarrowSelectors.md'),
521+
PrometheusKubernetesListWatchFailures: openShiftRunbookCMO('PrometheusKubernetesListWatchFailures.md'),
521522
PrometheusRuleFailures: openShiftRunbookCMO('PrometheusRuleFailures.md'),
522523
PrometheusRemoteStorageFailures: openShiftRunbookCMO('PrometheusRemoteStorageFailures.md'),
523524
PrometheusScrapeBodySizeLimitHit: openShiftRunbookCMO('PrometheusScrapeBodySizeLimitHit.md'),

0 commit comments

Comments
 (0)