pm2-mongodb-stats

1.7.15 • Public • Published

pm2-mongodb-stats

NPM

PM2 MongoDB Stats Metrics

  • MongoDB Version
  • Uptime
  • Queries, input, updates, deletes (AVG per second)
  • Number of connections
  • Connections per seconds
  • Network speed (input and output)

Screenshot

Install

pm2 install pm2-mongodb-stats

or

pm2 install jodacame/pm2-mongodb-stats

Uninstall

pm2 uninstall pm2-mongodb-stats

or

pm2 uninstall jodacame/pm2-mongodb-stats

Set mongo connection (Optional)

pm2 set pm2-mongodb-stats:mongo <string connection>

Example:

pm2 set pm2-mongodb-stats:mongo 'mongodb://localhost:27017/admin'

Required

  • pm2
npm install pm2 -g
  • mongodb
npm mongodb pm2 -g

Package Sidebar

Install

npm i pm2-mongodb-stats

Weekly Downloads

2

Version

1.7.15

License

MIT

Last publish

Collaborators

  • jodacame