mirror of
https://github.com/ceph/ceph
synced 2025-01-04 02:02:36 +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)
|
return (0, 0)
|
||||||
|
|
||||||
def get_all_perf_counters(self, prio_limit=PRIO_USEFUL,
|
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
|
Return the perf counters currently known to this ceph-mgr
|
||||||
instance, filtered by priority equal to or greater than `prio_limit`.
|
instance, filtered by priority equal to or greater than `prio_limit`.
|
||||||
|
Loading…
Reference in New Issue
Block a user