Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mgr: Expose rgw perf counters #21269

Merged
merged 2 commits into from
Apr 9, 2018
Merged

Commits on Apr 6, 2018

  1. 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 <branto@redhat.com>
    b-ranto committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    f95f37c View commit details
    Browse the repository at this point in the history
  2. rgw: Sanitize rgw perf counter names

    The rgw perf counters are currently being named by the rgw names (i.e.
    client.rgw.<name>.<something>). This changes their names to something
    more sane like rgw.<something>. This also makes data exported by
    prometheus ceph-mgr module a lot more useful as you do not need to use
    the rgw name to get the metrics for an rgw.
    
    Signed-off-by: Boris Ranto <branto@redhat.com>
    b-ranto committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    af7c1c5 View commit details
    Browse the repository at this point in the history