]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Sanitize rgw perf counter names 21269/head
authorBoris Ranto <branto@redhat.com>
Fri, 6 Apr 2018 10:02:41 +0000 (12:02 +0200)
committerBoris Ranto <branto@redhat.com>
Fri, 6 Apr 2018 10:02:44 +0000 (12:02 +0200)
commitaf7c1c5adf8f83091098dcee15bb27c8c13e2168
treea30241a20958c90f7f556e944c0fdea396c67203
parentf95f37c63b090c42df693ec60b37cfbbd10c8b45
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>
src/rgw/rgw_common.cc