avgs.type GAUGE
avgs.min 0
avgs.info Moving 5 minute average time to perform search
-avgs.label Average time to response
avgr.label Average reverse time
avgr.draw LINE
avgr.type GAUGE
avgr.min 0
-avgr.info Moving 5 minute average time to perform search
-avgr.label Average time to response
+avgr.info Moving 5 minute average time to perform reverse
max.label Slowest time to response
max.draw LINE
""" A query log file, unpacked. """
def __init__(self, filename):
- self.fd = open(filename)
+ self.fd = open(filename, encoding='utf-8')
self.len = os.path.getsize(filename)
def __del__(self):