Our PM2 Integration enables you to monitor and manage your Node.js applications with ease. With this integration, you can track detailed metrics for each application, including memory usage, CPU consumption, request rates, and much more. Visualize the performance of your applications in real time and ensure they're running smoothly. You can also monitor app restarts, uptime, and receive in-depth insights into app health.
By utilizing the PM2 integration, you will be able to:
- View a list of running applications and their performance stats.
- Track memory consumption, CPU usage, and requests per minute for each app.
- Analyze app metrics such as uptime, restarts and version.
- Monitor the health and stability of your Node.js applications.
You can see the result of the integration in the video below
How to Enable PM2 Integration: To begin monitoring your PM2-managed applications, follow these steps:
Step-by-Step Integration Instructions:
- Install the Watchlog Agent:If you haven't already installed the Watchlog Agent, download and install it on your server.
- Configure Pm2 in integration.json:In Ubuntu agent you can find it in "/opt/watchlog-agent/integration.json"In Source agent you can find it in watchlog-agent directoryNavigate to your agent configuration file (integration.json) and enable Docker integration by setting the Docker key to true. Example:
- Reload the Agent:After updating the configuration file, you need to reload the Watchlog Agent for the changes to take effect. You can do this by running:In Ubuntu agent :In Source agent :