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:
parent
bcabd7d079
commit
8d0f26ff7a
|
@ -307,8 +307,14 @@ def collect_ceph_stats(logger, config, zkhandler, this_node, queue):
|
||||||
"var": osd["var"],
|
"var": osd["var"],
|
||||||
"pgs": osd["pgs"],
|
"pgs": osd["pgs"],
|
||||||
"kb": osd["kb"],
|
"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"],
|
"weight": osd["crush_weight"],
|
||||||
"reweight": osd["reweight"],
|
"reweight": osd["reweight"],
|
||||||
|
"class": osd["device_class"],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue