From: Konstantin Shalygin Date: Mon, 6 Sep 2021 07:54:23 +0000 (+0700) Subject: mgr/prometheus: added `avail_raw` field for Pools DF Prometheus mgr module X-Git-Tag: v16.2.8~81^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=56f66e22cb986b1bc9153f213d466f9b04c6aaea;p=ceph.git mgr/prometheus: added `avail_raw` field for Pools DF Prometheus mgr module Fixes: https://tracker.ceph.com/issues/52512 Signed-off-by: Konstantin Shalygin (cherry picked from commit 3a78b9b6b8d8593ff3838b8efe630a210fd1a142) --- diff --git a/src/pybind/mgr/prometheus/module.py b/src/pybind/mgr/prometheus/module.py index d367693714d6f..f140e2a37baff 100644 --- a/src/pybind/mgr/prometheus/module.py +++ b/src/pybind/mgr/prometheus/module.py @@ -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']