don't default to adding underscore to name

This commit is contained in:
Henry Oswald 2018-11-20 16:28:36 +00:00
parent 816c9348f6
commit 5039287ee4

View file

@ -20,7 +20,7 @@ require "./uv_threadpool_size"
module.exports = Metrics =
initialize: (_name) ->
name = _name + "_"
name = _name
collectDefaultMetrics({ timeout: 5000, prefix: name+"_"})
registerDestructor: (func) ->