]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/iostat: implement 'ceph iostat' as a mgr plugin
authorMohamad Gebai <mgebai@suse.com>
Tue, 23 Jan 2018 13:56:36 +0000 (08:56 -0500)
committerMohamad Gebai <mgebai@suse.com>
Thu, 12 Apr 2018 04:26:24 +0000 (00:26 -0400)
commit40983f7f2005078677bce76e93eccdd3d74cf36d
tree6f3ba8687d3b06fe86bb1558eaf85026e493f6f2
parente292ce22b0dcef4b1071c9a662537f7d6da4e281
mgr/iostat: implement 'ceph iostat' as a mgr plugin

Allow a mgr module to fetch 'io_rate' to access pg_sum_delta,
which holds the IO activity recently completed by the OSDs.

Signed-off-by: Mohamad Gebai <mgebai@suse.com>
src/ceph.in
src/mgr/ActivePyModules.cc
src/mon/PGMap.cc
src/pybind/mgr/iostat/__init__.py [new file with mode: 0644]
src/pybind/mgr/iostat/module.py [new file with mode: 0644]
src/pybind/mgr/mgr_module.py