b.add_u64(l_bluestore_stored, "bluestore_stored",
"Sum for stored bytes");
b.add_u64(l_bluestore_compressed, "bluestore_compressed",
- "Sum for stored compressed bytes");
+ "Sum for stored compressed bytes",
+ "c", PerfCountersBuilder::PRIO_USEFUL, unit_t(UNIT_BYTES));
b.add_u64(l_bluestore_compressed_allocated, "bluestore_compressed_allocated",
- "Sum for bytes allocated for compressed data");
+ "Sum for bytes allocated for compressed data",
+ "c_a", PerfCountersBuilder::PRIO_USEFUL, unit_t(UNIT_BYTES));
b.add_u64(l_bluestore_compressed_original, "bluestore_compressed_original",
- "Sum for original bytes that were compressed");
-
+ "Sum for original bytes that were compressed",
+ "c_o", PerfCountersBuilder::PRIO_USEFUL, unit_t(UNIT_BYTES));
b.add_u64(l_bluestore_onodes, "bluestore_onodes",
"Number of onodes in cache");
b.add_u64_counter(l_bluestore_onode_hits, "bluestore_onode_hits",