]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-prometheus: update pool stat counter
authorDimitri Savineau <dsavinea@redhat.com>
Tue, 15 Sep 2020 13:30:42 +0000 (09:30 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 16 Sep 2020 14:08:54 +0000 (10:08 -0400)
Since [1] The bytes_used pool counter in prometheus has been renamed
to stored.

Closes: #5781
[1] https://github.com/ceph/ceph/commit/71fe9149

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit e54b924eaf05a7223ec7525657d14e8892ce8957)

roles/ceph-prometheus/files/ceph_dashboard.yml

index aff1b25895aa28709cf1ec37fba69c5dd0b51f65..7a14744163e0a13d6c51b0c8f3cbd037cc566583 100644 (file)
@@ -74,7 +74,7 @@ groups:
       summary: "Network Errors"
       description: "This indicates that more than 10 dropped/error packets are seen in a 5m interval"
   - alert: Pool Capacity Low
-    expr: (ceph_pool_bytes_used / (ceph_pool_bytes_used + ceph_pool_max_avail) * 100 + on (pool_id) group_left (name) (ceph_pool_metadata*0)) > 85
+    expr: (ceph_pool_stored / (ceph_pool_stored + ceph_pool_max_avail) * 100 + on (pool_id) group_left (name) (ceph_pool_metadata*0)) > 85
     for: 1m
     labels:
       severity: page