Monitoring Node-RED performance using Application Metrics for Node.js

754 views
Skip to first unread message

Matt Colegate

unread,
Jul 27, 2017, 5:17:20 AM7/27/17
to Node-RED
Hi everyone,

I've written a short blog about how easy it is to monitor the performance (CPU, Memory, Heap, Event Loop, HTTP request and response) of Node-RED using Application Metrics for Node.js.
It's available here -> https://developer.ibm.com/node/2017/07/26/visualize-node-red-flow-performance-using-node-application-metrics/

I'd welcome any comments about how useful this addition might be to you, or any suggestions for improvement!

Cheers, Matt

----------------------------------------------------------------------
https://developer.ibm.com/node/author/colegate/


Julian Knight

unread,
Jul 27, 2017, 12:29:29 PM7/27/17
to Node-RED
Cool. 

Is there any way of monitoring ws requests? That would be useful. Disk I/O might also be useful.

Matt Colegate

unread,
Jul 28, 2017, 4:56:01 AM7/28/17
to Node-RED
Hi Julian, thanks for the response!
I'll put forward the probe requests for disk I/O and WebSockets (you did mean WebSockets right?) to https://github.com/RuntimeTools/appmetrics which collects the data exposed in the dashboard.

Cheers,
Matt

Matt Colegate

unread,
Jul 28, 2017, 5:39:40 AM7/28/17
to Node-RED
As an aside, we do already monitor socket.io requests - it's shown in the 'Other Requests' graph.
Here's a link to the dashboard image - the Socket IO stuff is bottom-left.

Cheers,

Matt

Julian Knight

unread,
Jul 29, 2017, 4:55:10 AM7/29/17
to Node-RED
Thanks. Yes, I did mean websockets., I missed that when looking at the original post. Cool!

OK, so here is another challenge for you B-) How about being able to monitor MQTT requests. They are a bit more complex as you probably want to monitor the throughput of requests (not packets) and possibly monitor the request size.

Between them ws and MQTT are very common parts of a Node-RED system so a single dashboard to track those would be brilliant.
Reply all
Reply to author
Forward
0 new messages