From 85011ed0e7724c2730f27c82bffa1935ddb14e9a Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Mon, 28 Jan 2019 14:37:54 +0000 Subject: [PATCH] add path into inc options --- libraries/metrics/metrics.coffee | 2 +- libraries/metrics/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/metrics/metrics.coffee b/libraries/metrics/metrics.coffee index e1f46a46b2..c322f2efd9 100644 --- a/libraries/metrics/metrics.coffee +++ b/libraries/metrics/metrics.coffee @@ -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 diff --git a/libraries/metrics/package.json b/libraries/metrics/package.json index f9d374c00f..002a92fc06 100644 --- a/libraries/metrics/package.json +++ b/libraries/metrics/package.json @@ -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",