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 <branto@redhat.com>
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'])