Monitor NodeJs

20 views
Skip to first unread message

Yasmine Mbarek

unread,
Jul 20, 2020, 10:08:46 AM7/20/20
to Prometheus Users
Hello everyone , 
Is there any other way to monitor NodeJS application without touching anything in the app.js file ?

Thank you.

Brian Candler

unread,
Jul 21, 2020, 4:53:01 AM7/21/20
to Prometheus Users
Depends what sort of monitoring you want to do.  You can:

- Test it using blackbox_exporter.  This will tell you if the app is up or down, and the latency in responding to test requests.

- Read its logfiles using mtail or grok_exporter.  This will let you synthesize metrics like number and type of requests and number of failures, as long as such things are logged.
Reply all
Reply to author
Forward
0 new messages