add path into inc options

This commit is contained in:
Henry Oswald 2019-01-28 14:37:54 +00:00
parent d95908756f
commit 85011ed0e7
2 changed files with 2 additions and 2 deletions

View file

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

View file

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