mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 23:41:17 -05:00
Format the stat name with environmenbt
This commit is contained in:
@@ -28,4 +28,4 @@ class StatsdClient(StatsClient):
|
|||||||
def timing_with_dates(self, stat, start, end, rate=1):
|
def timing_with_dates(self, stat, start, end, rate=1):
|
||||||
if self.active:
|
if self.active:
|
||||||
delta = (start - end).total_seconds()
|
delta = (start - end).total_seconds()
|
||||||
super(StatsClient, self).timing(stat, delta, rate)
|
super(StatsClient, self).timing(self.format_stat_name(stat), delta, rate)
|
||||||
|
|||||||
Reference in New Issue
Block a user