Add stored_bytes to pool stats information

This commit is contained in:
Joshua Boniface 2021-02-09 01:46:01 -05:00
parent aba567d6c9
commit 9100c63e99
1 changed files with 1 additions and 0 deletions

View File

@ -1155,6 +1155,7 @@ def collect_ceph_stats(queue):
# Assemble a useful data structure
pool_df = {
'id': pool['id'],
'stored_bytes': pool['stats']['stored'],
'free_bytes': pool['stats']['max_avail'],
'used_bytes': pool['stats']['bytes_used'],
'used_percent': pool['stats']['percent_used'],