Skip to content

Commit

Permalink
mgr: Expose rgw perf counters
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
b-ranto committed Apr 6, 2018
1 parent a903a76 commit f95f37c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pybind/mgr/mgr_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ def get_latest(daemon_type, daemon_name, counter):

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'])
Expand Down

0 comments on commit f95f37c

Please sign in to comment.