Fix broken key building in timer

This commit is contained in:
James Allen 2014-05-07 11:43:46 +01:00
parent 873297b02e
commit 45ec60d8a6

View file

@ -26,7 +26,7 @@ module.exports =
this.sampleRate = sampleRate
done:->
timeSpan = new Date - this.start
statsd.timing(this.key, timeSpan, this.sampleRate)
statsd.timing(buildKey(this.key), timeSpan, this.sampleRate)
gauge : (key, value, sampleRate = 1)->
statsd.gauge key, value, sampleRate