yocto-pm2-mongodb-dump
v1.0.8
Published
A pm2 module to process automatic dump on your mongodb database
Downloads
16
Readme
Overview
This module provide mongodump command and dump metrics from pm2 agent for keymetrics or for your own tools.
This module support SSL, Auth config for secure mongodatabase
It's recommended to use an user with specific rights to connection on your database to retrieve metrics with mongodump.
How to install
pm2 install yocto-pm2-mongodb-dump
How to use with keymetrics
Read Keymetrics documentation : http://pm2.keymetrics.io/docs/usage/monitoring/#keymetrics-monitoring.
How to use with your own tools.
Step 1 : You need just change the mode use on module config, and set your own name. (by default is keymetrics)
pm2 set yocto-pm2-mongodb:mode YOUR_CONFIG_NAME
Step 2 : Use your own tools with pm2 API to get metrics