fix gauge usage

This commit is contained in:
Brian Gough 2019-12-16 11:32:47 +00:00
parent 3a5374c6f9
commit 2273978e7b

View file

@ -60,7 +60,7 @@ class MetricWrapper
labelNames: ['app', 'host', 'path', 'status_code', 'method', 'collection', 'query']
})
when "gauge"
prom.Gauge({
new prom.Gauge({
name: name,
help: name,
labelNames: ['app','host', 'status']