Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

d-pm2-guarded

yourtion13MIT0.10.4

pm2 guarded

pm2, guarded

readme

pm2-guarded

How to use

$ pm2 install pm2-guarded

Upgrade

$ pm2 module:update pm2-guarded

Send to influxdb

$ pm2 set pm2-guarded:influxdb http://user:pass@host:port/db

Add Nginx status

$ pm2 set pm2-guarded:nginx http://127.0.0.1/nginx_status

Add Proxy to influxdb

$ pm2 set pm2-guarded:socketPath /tmp/pm2-guarded.sock

Config

  • set info fetch interval pm2 set pm2-guarded:fetchInterval 1000
  • set data send interval pm2 set pm2-guarded:sendInterval 5000