diff options
author | Ali Maredia <amaredia@redhat.com> | 2022-07-19 23:39:02 +0200 |
---|---|---|
committer | Ali Maredia <amaredia@redhat.com> | 2023-02-23 18:05:36 +0100 |
commit | 56e2a1006f975829c0f00db31c745f32da24676b (patch) | |
tree | 8198d3223ed815fabd76f708d5ed64bb29c13a6b /src/os/bluestore/BlueFS.cc | |
parent | common: add abstraction for label-aware perf counter keys (diff) | |
download | ceph-56e2a1006f975829c0f00db31c745f32da24676b.tar.xz ceph-56e2a1006f975829c0f00db31c745f32da24676b.zip |
common: Add labeled perf counters
Add the ability to dump labeled perf counters
for a daemon. Labeled perf counters are stored
in a CephContext's PerfCountersCollection.
Labeled and unlabeled perf counters are dumped
to the admin socket via `counters dump` command.
The schema for labeled and unlabeled perf
counters are dumped to the admin socket via
`counters schema` command.
This commit includes docs and additional unit tests
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Diffstat (limited to 'src/os/bluestore/BlueFS.cc')
-rw-r--r-- | src/os/bluestore/BlueFS.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/bluestore/BlueFS.cc b/src/os/bluestore/BlueFS.cc index 274ab0a5c9d..fc0e906e9c2 100644 --- a/src/os/bluestore/BlueFS.cc +++ b/src/os/bluestore/BlueFS.cc @@ -533,7 +533,7 @@ uint64_t BlueFS::get_free(unsigned id) void BlueFS::dump_perf_counters(Formatter *f) { f->open_object_section("bluefs_perf_counters"); - logger->dump_formatted(f,0); + logger->dump_formatted(f, false, false); f->close_section(); } |