Skip to content

Commit 6a0960b

Browse files
committed
rgw: change topic label to lowercase
Signed-off-by: Ali Maredia <[email protected]>
1 parent eaa4ccd commit 6a0960b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rgw/rgw_perf_counters.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ const std::string rgw_topic_counters_key = "rgw_topic";
211211
CountersManager::CountersManager(const std::string& topic_name, CephContext *cct)
212212
: cct(cct)
213213
{
214-
const std::string topic_key = ceph::perf_counters::key_create(rgw_topic_counters_key, {{"Topic", topic_name}});
214+
const std::string topic_key = ceph::perf_counters::key_create(rgw_topic_counters_key, {{"topic", topic_name}});
215215
PerfCountersBuilder pcb(cct, topic_key, l_rgw_topic_first, l_rgw_topic_last);
216216
add_rgw_topic_counters(&pcb);
217217
topic_counters = std::unique_ptr<PerfCounters>(pcb.create_perf_counters());

0 commit comments

Comments
 (0)