yocto-pm2-mongodb-dump

1.0.8 • Public • Published

NPM

alt text Code Climate Test Coverage Issue Count Build Status

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

Package Sidebar

Install

npm i yocto-pm2-mongodb-dump

Weekly Downloads

5

Version

1.0.8

License

Apache-2.0

Last publish

Collaborators

  • yocto