Namespace gauge keys correctly

This commit is contained in:
James Allen 2014-05-09 13:54:33 +01:00
parent 00c0036ca5
commit 284d8fb588

View file

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