Format the stat name with environmenbt

This commit is contained in:
Martyn Inglis
2016-09-14 15:22:50 +01:00
parent c67c819f0a
commit 04f36fab21

View File

@@ -28,4 +28,4 @@ class StatsdClient(StatsClient):
def timing_with_dates(self, stat, start, end, rate=1):
if self.active:
delta = (start - end).total_seconds()
super(StatsClient, self).timing(stat, delta, rate)
super(StatsClient, self).timing(self.format_stat_name(stat), delta, rate)