]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr: rename ceph df stat columns for both influx and prometheus.
authorIgor Fedotov <ifedotov@suse.com>
Mon, 22 Oct 2018 11:46:55 +0000 (14:46 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Thu, 6 Dec 2018 15:54:21 +0000 (18:54 +0300)
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
doc/mgr/influx.rst
src/pybind/mgr/influx/module.py
src/pybind/mgr/prometheus/module.py

index 7434b4d8bcc0c8e5eb86725088c0652385f889a9..62c643b885d5a4d4e4d2f96cf52a01250ffabef4 100644 (file)
@@ -87,7 +87,7 @@ Pools
 +---------------+-----------------------------------------------------+
 |Counter        | Description                                         |
 +===============+=====================================================+
-|bytes_used     | Bytes used in the pool not including copies         |
+|stored         | Bytes stored in the pool not including copies       |
 +---------------+-----------------------------------------------------+
 |max_avail      | Max available number of bytes in the pool           |
 +---------------+-----------------------------------------------------+
@@ -99,7 +99,7 @@ Pools
 +---------------+-----------------------------------------------------+
 |rd_bytes       | Number of bytes read in the pool                    |
 +---------------+-----------------------------------------------------+
-|raw_bytes_used | Bytes used in pool including copies made            |
+|stored_raw     | Bytes used in pool including copies made            |
 +---------------+-----------------------------------------------------+
 
 ^^^^
index 761c53ece5c7599c49923586aeec567ced0cd6f0..6937cc9fc8c1f3db99c029fcdc45d2f4550e70bf 100644 (file)
@@ -178,12 +178,12 @@ class Module(MgrModule):
         pool_info = {}
 
         df_types = [
-            'bytes_used',
+            'stored',
             'kb_used',
             'dirty',
             'rd',
             'rd_bytes',
-            'raw_bytes_used',
+            'stored_raw',
             'wr',
             'wr_bytes',
             'objects',
index 662da96b72b90f5946c211f99acdf177d6ab78b7..71aebf9d5e2a1774017be9ed9fcdfa6e3abafa38 100644 (file)
@@ -46,7 +46,7 @@ def health_status_to_number(status):
 
 DF_CLUSTER = ['total_bytes', 'total_used_bytes', 'total_objects']
 
-DF_POOL = ['max_avail', 'bytes_used', 'raw_bytes_used', 'objects', 'dirty',
+DF_POOL = ['max_avail', 'stored', 'stored_raw', 'objects', 'dirty',
            'quota_bytes', 'quota_objects', 'rd', 'rd_bytes', 'wr', 'wr_bytes']
 
 OSD_FLAGS = ('noup', 'nodown', 'noout', 'noin', 'nobackfill', 'norebalance',