From ff6907a557ed6f9819386d183d48f41d46146671 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Fri, 20 Feb 2009 14:29:20 -0700 Subject: [PATCH] storage: include reserved_space in stats --- src/allmydata/storage/server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/allmydata/storage/server.py b/src/allmydata/storage/server.py index a6580169..7971113d 100644 --- a/src/allmydata/storage/server.py +++ b/src/allmydata/storage/server.py @@ -135,6 +135,7 @@ class StorageServer(service.MultiService, Referenceable): # remember: RIStatsProvider requires that our return dict # contains numeric values. stats = { 'storage_server.allocated': self.allocated_size(), } + stats["storage_server.reserved_space"] = self.reserved_space for category,ld in self.get_latencies().items(): for name,v in ld.items(): stats['storage_server.latencies.%s.%s' % (category, name)] = v -- 2.45.2