]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
monitoring: fix indentation of ceph default alerts 32070/head
authorPatrick Seidensal <pseidensal@suse.com>
Mon, 18 Nov 2019 11:40:55 +0000 (12:40 +0100)
committerNathan Cutler <ncutler@suse.com>
Fri, 6 Dec 2019 13:16:08 +0000 (14:16 +0100)
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
(cherry picked from commit d262adeb215228f75d56b463f8bb3b36c06e91a7)

monitoring/prometheus/alerts/ceph_default_alerts.yml

index bf547cf008dad4b5397d4ca3ca3f7030e9c7943c..24d5673aab29ca6bb73ce83fcfaaf67b5092d002 100644 (file)
@@ -59,8 +59,8 @@ groups:
           type: ceph_default
         annotations:
           description: >
-              OSD {{ $labels.ceph_daemon }} was marked down and back up at least once a
-              minute for 5 minutes.
+            OSD {{ $labels.ceph_daemon }} was marked down and back up at least once a
+            minute for 5 minutes.
       # alert on high deviation from average PG count
       - alert: high pg count deviation
         expr: abs(((ceph_osd_numpg > 0) - on (job) group_left avg(ceph_osd_numpg > 0) by (job)) / on (job) group_left avg(ceph_osd_numpg > 0) by (job)) > 0.35
@@ -70,8 +70,8 @@ groups:
           type: ceph_default
         annotations:
           description: >
-              OSD {{ $labels.ceph_daemon }} deviates by more than 30% from
-              average PG count.
+            OSD {{ $labels.ceph_daemon }} deviates by more than 30% from
+            average PG count.
       # alert on high commit latency...but how high is too high
   - name: mds
     rules: