Bug #45311
Updated by Alfonso MartÃnez almost 4 years ago
Currently, prometheus mgr module gets rgw perf counters as in https://tracker.ceph.com/attachments/download/4854/rgw_perf_counters.txt [[rgw_perf_counters.txt]]. After standard transformation for prometheus server consumption, transformation, this is how it arrives to prometheus server: <pre> ceph_data_sync_from_<ZONE_NAME>_fetch_bytes_count{ceph_daemon="rgw.8000",instance="ceph-rpm:9283",job="ceph"} </pre> It should be: <pre> ceph_rgw_sync_from_zone_fetch_bytes_count{ceph_daemon="rgw.8000",instance="ceph-rpm:9283",job="ceph",zone="<ZONE_NAME>"} </pre> The issue is similar to this: https://tracker.ceph.com/issues/39977 1) The zone name should be added (as it is required for metric consumption purposes) as label (e.g. zone="<ZONE_NAME>"). 2) The metric name format should be fixed (i.e. it should not contain any particular detail: zone, zonegroup, realm, ...).