mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
Merge pull request #49686 from xxhdx1985126/wip-crimson-dump-metrics
crimson/admin: correct metrics dumping methods Reviewed-by: Samuel Just <sjust@redhat.com>
This commit is contained in:
commit
9ef2b8d2dd
@ -240,7 +240,9 @@ public:
|
||||
}
|
||||
for (const auto& [labels, metric] : metric_family) {
|
||||
if (metric && metric->is_enabled()) {
|
||||
f->open_object_section(""); // enclosed by array
|
||||
DumpMetricsHook::dump_metric_value(f, full_name, *metric, labels);
|
||||
f->close_section();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user