Merge pull request #675 from alphagov/format-statsd

Format the stat name with environmenbt
This commit is contained in:
minglis
2016-09-14 15:23:06 +01:00
committed by GitHub

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)