]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/prometheus: added `avail_raw` field for Pools DF Prometheus mgr module 43058/head
authorKonstantin Shalygin <k0ste@k0ste.ru>
Mon, 6 Sep 2021 07:54:23 +0000 (14:54 +0700)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Tue, 1 Mar 2022 17:50:44 +0000 (00:50 +0700)
Fixes: https://tracker.ceph.com/issues/52512
Signed-off-by: Konstantin Shalygin <k0ste@k0ste.ru>
src/pybind/mgr/prometheus/module.py

index 0ee53a642b4a871bd65ac5948dc78c61d173bf00..62c38079132e370ac74c3a518590cd7b0e9c2cd5 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']