]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/prometheus: added `avail_raw` field for Pools DF Prometheus mgr module 45238/head
authorKonstantin Shalygin <k0ste@k0ste.ru>
Mon, 6 Sep 2021 07:54:23 +0000 (14:54 +0700)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Thu, 3 Mar 2022 07:31:33 +0000 (14:31 +0700)
Fixes: https://tracker.ceph.com/issues/52512
Signed-off-by: Konstantin Shalygin <k0ste@k0ste.ru>
(cherry picked from commit 3a78b9b6b8d8593ff3838b8efe630a210fd1a142)

src/pybind/mgr/prometheus/module.py

index c150b11efa53c979185cb8bd19df7a8465704774..d4dfd75a128ea63ec57e345a971b54e3e2aa2764 100644 (file)
@@ -66,7 +66,7 @@ def health_status_to_number(status):
 
 DF_CLUSTER = ['total_bytes', 'total_used_bytes', 'total_used_raw_bytes']
 
-DF_POOL = ['max_avail', 'stored', 'stored_raw', 'objects', 'dirty',
+DF_POOL = ['max_avail', 'avail_raw', 'stored', 'stored_raw', 'objects', 'dirty',
            'quota_bytes', 'quota_objects', 'rd', 'rd_bytes', 'wr', 'wr_bytes',
            'compress_bytes_used', 'compress_under_bytes']