From: Aishwarya Mathuria Date: Thu, 26 Feb 2026 11:04:40 +0000 (+0000) Subject: crimson/common: fix metric label dumping X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6d016afb5437dccf98ffa5690c9672d6fc03cb3b;p=ceph.git crimson/common: fix metric label dumping Seastar's escaped_string wrapper no longer implicitly converts to a string type. Update dump_metric_value to call .value() to access the underlying string. See: https://github.com/scylladb/seastar/commit/49c34b81bcae5bec3bf7f12bb91bdfd859326de0 Signed-off-by: Aishwarya Mathuria --- diff --git a/src/crimson/common/metrics_helpers.h b/src/crimson/common/metrics_helpers.h index 443a62b13a6..bd63404c102 100644 --- a/src/crimson/common/metrics_helpers.h +++ b/src/crimson/common/metrics_helpers.h @@ -24,7 +24,7 @@ void dump_metric_value( { f->open_object_section(full_name); for (const auto& [key, value] : labels) { - f->dump_string(key, value); + f->dump_string(key, value.value()); } auto value_name = "value"; switch (auto v = metric(); v.type()) {