mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Add memory metric reporting
This commit is contained in:
@@ -213,7 +213,7 @@ Node.prototype.metric = function(eventname, msg, metricValue) {
|
||||
metrics.nodeid = this.id;
|
||||
metrics.event = "node."+this.type+"."+eventname;
|
||||
metrics.msgid = msg._id;
|
||||
metrics.metric = metricValue;
|
||||
metrics.value = metricValue;
|
||||
Log.log(metrics);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user