1.7.15 • Published 8 years ago
pm2-mongodb-stats v1.7.15
pm2-mongodb-stats
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)

Install
pm2 install pm2-mongodb-statsor
pm2 install jodacame/pm2-mongodb-statsUninstall
pm2 uninstall pm2-mongodb-statsor
pm2 uninstall jodacame/pm2-mongodb-statsSet 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