Removing ttl from munin.

This commit is contained in:
Samuel Clay 2015-02-11 15:16:16 -08:00
parent dc1b722cf3
commit 26124dfed3

View file

@ -30,7 +30,7 @@ class NBMuninGraph(MuninGraph):
def stats(self):
r = redis.Redis(self.host)
info = r.info()
dbs = dict([(k, v) for k, v in info.items() if k.startswith('db') and not k.endswith('ttl')])
dbs = dict([(k, v) for k, v in info.items() if k.startswith('db') and not 'ttl' in k])
sizes = {}
for db, values in dbs.items():
for key, value in values.items():