mirror of
https://github.com/ceph/ceph
synced 2025-02-19 08:57:27 +00:00
Merge pull request #21269 from b-ranto/wip-mgr-expose-rgw
mgr: Expose rgw perf counters Reviewed-by: John Spray <john.spray@redhat.com>
This commit is contained in:
commit
f29f45e135
@ -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'])
|
||||
|
@ -137,7 +137,7 @@ rgw_http_errors rgw_http_swift_errors({
|
||||
|
||||
int rgw_perf_start(CephContext *cct)
|
||||
{
|
||||
PerfCountersBuilder plb(cct, cct->_conf->name.to_str(), l_rgw_first, l_rgw_last);
|
||||
PerfCountersBuilder plb(cct, "rgw", l_rgw_first, l_rgw_last);
|
||||
|
||||
// RGW emits comparatively few metrics, so let's be generous
|
||||
// and mark them all USEFUL to get transmission to ceph-mgr by default.
|
||||
|
Loading…
Reference in New Issue
Block a user