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 <amathuri@redhat.com>
{
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()) {