void BlueFS::_init_logger()
{
- PerfCountersBuilder b(cct, "BlueFS",
+ PerfCountersBuilder b(cct, "bluefs",
l_bluefs_first, l_bluefs_last);
b.add_u64_counter(l_bluefs_gift_bytes, "gift_bytes",
"Bytes gifted from BlueStore");
b.add_u64_counter(l_bluefs_log_compactions, "log_compactions",
"Compactions of the metadata log");
b.add_u64_counter(l_bluefs_logged_bytes, "logged_bytes",
- "Bytes written to the metadata log");
+ "Bytes written to the metadata log", "j");
b.add_u64_counter(l_bluefs_files_written_wal, "files_written_wal",
"Files written to WAL");
b.add_u64_counter(l_bluefs_files_written_sst, "files_written_sst",
"Files written to SSTs");
b.add_u64_counter(l_bluefs_bytes_written_wal, "bytes_written_wal",
- "Bytes written to WAL");
+ "Bytes written to WAL", "wal");
b.add_u64_counter(l_bluefs_bytes_written_sst, "bytes_written_sst",
- "Bytes written to SSTs");
+ "Bytes written to SSTs", "sst");
logger = b.create_perf_counters();
cct->get_perfcounters_collection()->add(logger);
}