add path into inc options
This commit is contained in:
@@ -81,7 +81,7 @@ module.exports = Metrics =
|
||||
promMetrics[key] = new prom.Counter({
|
||||
name: key,
|
||||
help: key,
|
||||
labelNames: ['app','host','status','method']
|
||||
labelNames: ['app','host','status','method', 'path']
|
||||
})
|
||||
opts.app = appname
|
||||
opts.host = hostname
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "metrics-sharelatex",
|
||||
"version": "2.0.13",
|
||||
"version": "2.0.14",
|
||||
"description": "A drop-in metrics and monitoring module for node.js apps",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user