For complete setup, please read this article.
Pm2 free monitoring project supports your pm2 organized microservice architecture to monitor all the services free. Pm2 supports key-metrics which is free till the 4 dashboard but after that what?
This project provides free monitoring via Grafana through InfluxDB.
First, You need to clone this repo and install dependent packages via npm i
.
Then, Insert your pm2 service running sever IP in controller.js and execute via node app.js
or npm start
.
Yeah! Your scheduler is now working.
For configuration, create a file .env
and populate it with the following env variables:
# the ip of the machine pm2 is running on
PM2_IP=0.0.0.0
# InfluxDB connection
DB_HOST=0.0.0.0
DB_PORT=8086
DB_USER=
DB_PASS=
DB_NAME=