From f95f37c63b090c42df693ec60b37cfbbd10c8b45 Mon Sep 17 00:00:00 2001 From: Boris Ranto Date: Fri, 6 Apr 2018 11:19:22 +0200 Subject: [PATCH] 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 --- src/pybind/mgr/mgr_module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']) -- 2.47.3