Add additional kb_ values to OSD stats

Allows for easier parsing later to get e.g. % values and more details on
the used amounts.
This commit is contained in:
Joshua Boniface 2022-08-11 11:06:36 -04:00
parent bcabd7d079
commit 8d0f26ff7a
1 changed files with 6 additions and 0 deletions

View File

@ -307,8 +307,14 @@ def collect_ceph_stats(logger, config, zkhandler, this_node, queue):
"var": osd["var"],
"pgs": osd["pgs"],
"kb": osd["kb"],
"kb_used": osd["kb_used"],
"kb_used_data": osd["kb_used_data"],
"kb_used_omap": osd["kb_used_omap"],
"kb_used_meta": osd["kb_used_meta"],
"kb_avail": osd["kb_avail"],
"weight": osd["crush_weight"],
"reweight": osd["reweight"],
"class": osd["device_class"],
}
}
)