diff --git a/libraries/metrics/http.coffee b/libraries/metrics/http.coffee index 52379695f9..1f6fe20971 100644 --- a/libraries/metrics/http.coffee +++ b/libraries/metrics/http.coffee @@ -9,7 +9,7 @@ module.exports.monitor = (logger) -> end.apply(this, arguments) responseTime = new Date() - startTime routePath = req.route.path.toString().replace(/\//g, '_').replace(/\:/g, '').slice(1) - key = "#{routePath}.#{req.method}.#{res.statusCode}" + key = "http-requests.#{routePath}.#{req.method}.#{res.statusCode}" Metrics.timing(key, responseTime) logger.log