ceph-prometheus: update pool stat counter

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 e54b924eaf)
pull/5793/head
Dimitri Savineau 2020-09-15 09:30:42 -04:00 committed by Dimitri Savineau
parent aaf1139242
commit 95a073cb3b
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ groups:
summary: "Network Errors" summary: "Network Errors"
description: "This indicates that more than 10 dropped/error packets are seen in a 5m interval" description: "This indicates that more than 10 dropped/error packets are seen in a 5m interval"
- alert: Pool Capacity Low - 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 for: 1m
labels: labels:
severity: page severity: page