Bugfix to rendering output of vectored TimerMetrics

This commit is contained in:
Paul "LeoNerd" Evans 2015-03-06 15:35:23 +00:00
parent f9478e475b
commit b3a0179d64
2 changed files with 6 additions and 7 deletions

View file

@ -127,9 +127,8 @@ class TimerMetric(CounterMetric):
def render_item(self, k):
keystr = self._render_key(k)
return ["%s%s:count %d" % (self.name, keystr, self.counts[k]),
"%s%s:msec %d" % (self.name, keystr, self.times[k])]
return ["%s:count%s %d" % (self.name, keystr, self.counts[k]),
"%s:msec%s %d" % (self.name, keystr, self.times[k])]
class CacheMetric(object):