From a5b71282cd4fbcdfe2c841d313b47dff8b1ca718 Mon Sep 17 00:00:00 2001
From: Lili Cosic <cosiclili@gmail.com>
Date: Mon, 13 Jul 2020 17:31:38 +0200
Subject: [PATCH] manifests/prometheus-rules.yaml: Regenerate

---
 manifests/prometheus-rules.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/manifests/prometheus-rules.yaml b/manifests/prometheus-rules.yaml
index aefacdf1..94c3fe4e 100644
--- a/manifests/prometheus-rules.yaml
+++ b/manifests/prometheus-rules.yaml
@@ -1793,6 +1793,15 @@ spec:
         severity: warning
   - name: prometheus-operator
     rules:
+    - alert: PrometheusOperatorWatchErrors
+      annotations:
+        message: Errors while performing watch operations in controller {{$labels.controller}}
+          in {{$labels.namespace}} namespace.
+      expr: |
+        (sum by (controller,namespace) (rate(prometheus_operator_watch_operations_failed_total{job="prometheus-operator",namespace="monitoring"}[1h])) / sum by (controller,namespace) (rate(prometheus_operator_watch_operations_total{job="prometheus-operator",namespace="monitoring"}[1h]))) > 0.1
+      for: 15m
+      labels:
+        severity: warning
     - alert: PrometheusOperatorReconcileErrors
       annotations:
         message: Errors while reconciling {{ $labels.controller }} in {{ $labels.namespace
-- 
GitLab