mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Rename HTTP In content-length metric
This commit is contained in:
parent
f2d4648384
commit
c8d2d690f0
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user