Add stored_bytes to pool stats information
This commit is contained in:
parent
aba567d6c9
commit
9100c63e99
|
@ -1155,6 +1155,7 @@ def collect_ceph_stats(queue):
|
||||||
# Assemble a useful data structure
|
# Assemble a useful data structure
|
||||||
pool_df = {
|
pool_df = {
|
||||||
'id': pool['id'],
|
'id': pool['id'],
|
||||||
|
'stored_bytes': pool['stats']['stored'],
|
||||||
'free_bytes': pool['stats']['max_avail'],
|
'free_bytes': pool['stats']['max_avail'],
|
||||||
'used_bytes': pool['stats']['bytes_used'],
|
'used_bytes': pool['stats']['bytes_used'],
|
||||||
'used_percent': pool['stats']['percent_used'],
|
'used_percent': pool['stats']['percent_used'],
|
||||||
|
|
Loading…
Reference in New Issue