diff --git a/libraries/metrics/metrics.coffee b/libraries/metrics/metrics.coffee index 85ab4bb483..71ee9f617a 100644 --- a/libraries/metrics/metrics.coffee +++ b/libraries/metrics/metrics.coffee @@ -86,9 +86,10 @@ module.exports = Metrics = help: key, maxAgeSeconds: 600, ageBuckets: 10, - labelNames: ['app', 'path', 'status_code', 'method', 'collection', 'query'] + labelNames: ['app', 'host', 'path', 'status_code', 'method', 'collection', 'query'] }) opts.app = appname + opts.host = hostname promMetrics[key].observe(opts, timeSpan) if process.env['DEBUG_METRICS'] console.log("doing timing", key, opts) diff --git a/libraries/metrics/package.json b/libraries/metrics/package.json index 455a6fc54a..3e1491106a 100644 --- a/libraries/metrics/package.json +++ b/libraries/metrics/package.json @@ -1,6 +1,6 @@ { "name": "metrics-sharelatex", - "version": "2.0.9", + "version": "2.0.10", "description": "A drop-in metrics and monitoring module for node.js apps", "repository": { "type": "git",