]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/prometheus: added `avail_raw` field for Pools DF Prometheus mgr module 45236/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:29:11 +0000 (14:29 +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 d367693714d6f91759b410eab64057430170cf84..f140e2a37baff1fc986c1bb4b8e791b4cda09171 100644 (file)
@@ -69,7 +69,7 @@ def health_status_to_number(status: str) -> int:
 
 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', 'bytes_used', 'percent_used']