mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
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:
parent
bb3d573a6e
commit
2162ed91d9
@ -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`.
|
||||
|
Loading…
Reference in New Issue
Block a user