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({ promMetrics[key] = new prom.Counter({
name: key, name: key,
help: key, help: key,
labelNames: ['app','host','status','method'] labelNames: ['app','host','status','method', 'path']
}) })
opts.app = appname opts.app = appname
opts.host = hostname opts.host = hostname

View file

@ -1,6 +1,6 @@
{ {
"name": "metrics-sharelatex", "name": "metrics-sharelatex",
"version": "2.0.13", "version": "2.0.14",
"description": "A drop-in metrics and monitoring module for node.js apps", "description": "A drop-in metrics and monitoring module for node.js apps",
"repository": { "repository": {
"type": "git", "type": "git",