{"repo":"VeXell/pm2-prom-module","free":true,"listed":false,"github":"https://github.com/VeXell/pm2-prom-module","clone":"git clone https://github.com/VeXell/pm2-prom-module.git","description":"PM2 module to export applications statistic to Prometheus","language":"TypeScript","stars":36,"topics":["devops","metrics","nodejs","pm2","prometheus","prometheus-exporter"],"license":null,"category":"analytics","readme_excerpt":"PM2-Prom-Module PM2 module to help collect applications statistic and send it to Prometheus server NEW : Starting from version 2.0.0, the plugin now supports the collection of all your Prometheus metrics from the running applications across multiple instances. Motivation Most of applications use Prometheus monitoring server to collect statistic and then show it on Grafana dashboard. PM2 gives you a way to monitor the resource usage of your application but unfortunately most of information is available from your terminal or with PM2 Plus dashboard. To solve this isses you should use additional module to export statistic data. Also if you use PM2-AutoScale module you want to see how many active instances of the app is currently active and how many resources it using. Solution This module pm2-prom-module allows you to collect all PM2 monitoring data such as CPU Usage , Memory Usage and etc for your every applications and run HTTP server inside module to collect all metrics. PM collected statistic - Free memory - CPUs count - Count of running apps - Count of instances for every app - Average using memory for every app - Total using memory for all instances of a app - Average using CPU for every app - Current CPU usage for every app instance - Restarts count for every app instance - Uptime for every app - App status (0-unknown, 1-running, 2-pending, 3-stopped, 4-errored) - Memory and CPU limits when run PM2 in docker container Also collect all PM2 default metrics for every instanc","default_branch":null,"files":null,"tree":[],"storefront":"/r/VeXell","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/VeXell/pm2-prom-module/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}