From c8d2d690f0219ea20d8211100ce133089f6f3898 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Wed, 4 Feb 2015 21:10:18 +0000 Subject: [PATCH] Rename HTTP In content-length metric --- nodes/core/io/21-httpin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/core/io/21-httpin.js b/nodes/core/io/21-httpin.js index f210067f3..4ae6fb277 100644 --- a/nodes/core/io/21-httpin.js +++ b/nodes/core/io/21-httpin.js @@ -88,7 +88,7 @@ module.exports = function(RED) { var metricContentLength = res._headers["content-length"]; //assuming that _id has been set for res._metrics in HttpOut node! node.metric("response.time.millis", {_id:res._msgId} , metricResponseTime); - node.metric("response.content.length.bytes", {_id:res._msgId} , metricContentLength); + node.metric("response.content-length.bytes", {_id:res._msgId} , metricContentLength); } }); next();