Просмотр исходного кода

Fix broken key building in timer

James Allen 12 лет назад
Родитель
Сommit
45ec60d8a6
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      libraries/metrics/metrics.coffee

+ 1 - 1
libraries/metrics/metrics.coffee

@@ -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