From: Boris Ranto Date: Fri, 6 Apr 2018 09:19:22 +0000 (+0200) Subject: mgr: Expose rgw perf counters X-Git-Tag: v13.1.0~371^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f95f37c63b090c42df693ec60b37cfbbd10c8b45;p=ceph.git mgr: Expose rgw perf counters We are filtering rgw perf counters in mgr_module. This commit allows us to expose rgw perf counters to the mgr modules. This also directly exports the rgw perf counters via prometheus module since the module calls the get_all_perf_counters method to get all the perf counters and then it exports them. Signed-off-by: Boris Ranto --- diff --git a/src/pybind/mgr/mgr_module.py b/src/pybind/mgr/mgr_module.py index d5fb507c9fca..ce68b459d823 100644 --- a/src/pybind/mgr/mgr_module.py +++ b/src/pybind/mgr/mgr_module.py @@ -604,7 +604,7 @@ class MgrModule(ceph_module.BaseMgrModule): for server in self.list_servers(): for service in server['services']: - if service['type'] not in ("mds", "osd", "mon"): + if service['type'] not in ("rgw", "mds", "osd", "mon"): continue schema = self.get_perf_schema(service['type'], service['id'])