Update to monitor driver
authorSapan Bhatia <sapanb@cs.princeton.edu>
Sat, 10 Jan 2015 04:52:29 +0000 (04:52 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Sat, 10 Jan 2015 04:52:29 +0000 (04:52 +0000)
planetstack/monitor/monitordriver.py

index 77e8bfd..50e208c 100644 (file)
@@ -7,6 +7,7 @@ class DashboardStatistics(dict):
         self['average'] = 0
         self['sum'] = 0
         self['unit'] = 'units'
+        self['stat_list']=[]
         # stat_list is a list of dicts
         # [ {'timestamp': datetime, 'value': value} ]