Rename HTTP In content-length metric

This commit is contained in:
Nick O'Leary 2015-02-04 21:10:18 +00:00
parent f2d4648384
commit c8d2d690f0
1 changed files with 1 additions and 1 deletions

View File

@ -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();