]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: change topic label to lowercase 54623/head
authorAli Maredia <amaredia@redhat.com>
Wed, 29 Nov 2023 18:06:01 +0000 (13:06 -0500)
committerAli Maredia <amaredia@redhat.com>
Wed, 31 Jan 2024 22:18:03 +0000 (17:18 -0500)
Signed-off-by: Ali Maredia <amaredia@redhat.com>
src/rgw/rgw_perf_counters.cc

index 40668c3d822731c7a1f353ab952468ac7833f971..d316476a27b71a859ade99d08981eaf358f70f44 100644 (file)
@@ -211,7 +211,7 @@ const std::string rgw_topic_counters_key = "rgw_topic";
 CountersManager::CountersManager(const std::string& topic_name, CephContext *cct)
     : cct(cct)
 {
-  const std::string topic_key = ceph::perf_counters::key_create(rgw_topic_counters_key, {{"Topic", topic_name}});
+  const std::string topic_key = ceph::perf_counters::key_create(rgw_topic_counters_key, {{"topic", topic_name}});
   PerfCountersBuilder pcb(cct, topic_key, l_rgw_topic_first, l_rgw_topic_last);
   add_rgw_topic_counters(&pcb);
   topic_counters = std::unique_ptr<PerfCounters>(pcb.create_perf_counters());