]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/influx: Send more information about pools
authorWido den Hollander <wido@42on.com>
Wed, 31 Jan 2018 12:15:05 +0000 (13:15 +0100)
committerWido den Hollander <wido@42on.com>
Wed, 6 Jun 2018 13:50:41 +0000 (15:50 +0200)
In addition to the existing statistics also send Read and Write IOps,
but also quota information.

Signed-off-by: Wido den Hollander <wido@42on.com>
(cherry picked from commit c803f38a17af625edc1cee29f21e510a03396204)

src/pybind/mgr/influx/module.py

index 067229ee75bc005ce0ed4afb8e0d4e86b1fe7419..6bee4ac294024b48599c86f5e04b14dc2f86cf44 100644 (file)
@@ -72,12 +72,17 @@ class Module(MgrModule):
 
         df_types = [
             'bytes_used',
+            'kb_used',
             'dirty',
+            'rd',
             'rd_bytes',
             'raw_bytes_used',
+            'wr',
             'wr_bytes',
             'objects',
-            'max_avail'
+            'max_avail',
+            'quota_objects',
+            'quota_bytes'
         ]
 
         for df_type in df_types: