From: Mykola Golub Date: Tue, 8 Jan 2019 10:07:55 +0000 (+0000) Subject: pybind/mgr: add rbd-mirror to get_all_perf_counters by default X-Git-Tag: v14.1.0~429^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2162ed91d9dd3a7da55f62f7579476d408ac1f06;p=ceph.git pybind/mgr: add rbd-mirror to get_all_perf_counters by default This effectively enables rbd-mirror stats for modules like prometheus or influx. Signed-off-by: Mykola Golub --- diff --git a/src/pybind/mgr/mgr_module.py b/src/pybind/mgr/mgr_module.py index 30df9621f471..4c3bc486014e 100644 --- a/src/pybind/mgr/mgr_module.py +++ b/src/pybind/mgr/mgr_module.py @@ -940,7 +940,8 @@ class MgrModule(ceph_module.BaseMgrModule): return (0, 0) def get_all_perf_counters(self, prio_limit=PRIO_USEFUL, - services=("mds", "mon", "osd", "rgw")): + services=("mds", "mon", "osd", + "rbd-mirror", "rgw")): """ Return the perf counters currently known to this ceph-mgr instance, filtered by priority equal to or greater than `prio_limit`.