Skip to content

Commit

Permalink
use the right totalsNoLocals dict
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt Waldvogel committed Feb 24, 2012
1 parent 4532ed8 commit f5617ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gmetric-mongodb.py
Expand Up @@ -71,7 +71,7 @@ def writeStats(self):

for k, v in keys.iteritems():
self.callGmetric({"total_" + k: (totals[k], v)})
self.callGmetric({"totalNoLocal_" + k: (totals[k], v)})
self.callGmetric({"totalNoLocal_" + k: (totalsNoLocals[k], v)})

self.callGmetric({"total_dataAndIndexSize" : (totals["dataSize"]+totals["indexSize"], "bytes")})
self.callGmetric({"totalNoLocal_dataAndIndexSize" : (totalsNoLocals["dataSize"]+totalsNoLocals["indexSize"], "bytes")})
Expand Down

0 comments on commit f5617ae

Please sign in to comment.