Explorar o código

Namespace gauge keys correctly

James Allen %!s(int64=12) %!d(string=hai) anos
pai
achega
284d8fb588
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      libraries/metrics/metrics.coffee

+ 1 - 1
libraries/metrics/metrics.coffee

@@ -29,7 +29,7 @@ module.exports =
 			statsd.timing(buildKey(this.key), timeSpan, this.sampleRate)
 
 	gauge : (key, value, sampleRate = 1)->
-		statsd.gauge key, value, sampleRate
+		statsd.gauge buildKey(key), value, sampleRate
 
 	mongodb: require "./mongodb"
 	http: require "./http"