fix gauge usage

This commit is contained in:
Brian Gough
2019-12-16 11:42:10 +00:00
parent 3a5374c6f9
commit 2273978e7b
+1 -1
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']