From 9100c63e994b2c79e2335562b2aa755a3ab6e8bc Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 9 Feb 2021 01:46:01 -0500 Subject: [PATCH] Add stored_bytes to pool stats information --- node-daemon/pvcnoded/Daemon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/node-daemon/pvcnoded/Daemon.py b/node-daemon/pvcnoded/Daemon.py index fad6819a..3a063d50 100644 --- a/node-daemon/pvcnoded/Daemon.py +++ b/node-daemon/pvcnoded/Daemon.py @@ -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'],