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 <mgolub@suse.com>
This commit is contained in:
Mykola Golub 2019-01-08 10:07:55 +00:00
parent bb3d573a6e
commit 2162ed91d9

View File

@ -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`.