diff --git a/libraries/metrics/metrics.coffee b/libraries/metrics/metrics.coffee index 74ce2c05ff..efe441acdb 100644 --- a/libraries/metrics/metrics.coffee +++ b/libraries/metrics/metrics.coffee @@ -35,6 +35,7 @@ module.exports = done:-> timeSpan = new Date - this.start statsd.timing(buildKey(this.key), timeSpan, this.sampleRate) + return timeSpan gauge : (key, value, sampleRate = 1)-> statsd.gauge buildKey(key), value, sampleRate