From: Ali Maredia Date: Mon, 22 Apr 2024 15:26:02 +0000 (-0400) Subject: rgw: replace '-''s with '_''s in the sync delta counter labels X-Git-Tag: v20.0.0~178^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2a8d84ecf6b54db1523acabd776e81161c67a968;p=ceph.git rgw: replace '-''s with '_''s in the sync delta counter labels Signed-off-by: Ali Maredia --- diff --git a/src/rgw/driver/rados/rgw_data_sync.cc b/src/rgw/driver/rados/rgw_data_sync.cc index b8133971784..5972b3bd55e 100644 --- a/src/rgw/driver/rados/rgw_data_sync.cc +++ b/src/rgw/driver/rados/rgw_data_sync.cc @@ -1133,9 +1133,9 @@ public: std::string sz_id = sc->source_zone.id; std::string lz_id = sc->env->svc->zone->get_zone_params().get_id(); return ceph::perf_counters::key_create(rgw_sync_delta_counters_key, - {{"local-zone-id", lz_id}, - {"source-zone-id", sz_id}, - {"shard-id", std::to_string(shard_id)}}); + {{"local_zone_id", lz_id}, + {"source_zone_id", sz_id}, + {"shard_id", std::to_string(shard_id)}}); } RGWCoroutine* store_marker(const string& new_marker, uint64_t index_pos, const real_time& timestamp, const real_time& last_update) override {