projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b8cc42
)
storage: include reserved_space in stats
author
Brian Warner
<warner@lothar.com>
Fri, 20 Feb 2009 21:29:20 +0000
(14:29 -0700)
committer
Brian Warner
<warner@lothar.com>
Fri, 20 Feb 2009 21:29:20 +0000
(14:29 -0700)
src/allmydata/storage/server.py
patch
|
blob
|
history
diff --git
a/src/allmydata/storage/server.py
b/src/allmydata/storage/server.py
index a65801697f01668fcab1340992230e290cb0b218..7971113d6e81ddc98e0c19ef9dd0d1e4aa9b583c 100644
(file)
--- 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