High fragmentation is one of the factors affecting performance decrease,
add it to prometheus, it helps to us monitor fragmentation changes.
Signed-off-by: Yite Gu <yitegu0@gmail.com>
PerfCountersBuilder::PRIO_CRITICAL,
unit_t(UNIT_BYTES));
b.add_u64(l_bluestore_fragmentation, "fragmentation_micros",
- "How fragmented bluestore free space is (free extents / max possible number of free extents) * 1000");
+ "How fragmented bluestore free space is (free extents / max possible number of free extents) * 1000",
+ "fbss",
+ PerfCountersBuilder::PRIO_USEFUL);
b.add_u64(l_bluestore_alloc_unit, "alloc_unit",
"allocation unit size in bytes",
"au_b",