Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keymetrics/pm2-redis
Module to monitor redis
https://github.com/keymetrics/pm2-redis
cache keymetrics module monitor pm2 queue redis redis-server
Last synced: 2 months ago
JSON representation
Module to monitor redis
- Host: GitHub
- URL: https://github.com/keymetrics/pm2-redis
- Owner: keymetrics
- License: mit
- Created: 2015-06-23T12:50:13.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-11-22T13:26:26.000Z (about 6 years ago)
- Last Synced: 2024-09-23T21:39:44.112Z (4 months ago)
- Topics: cache, keymetrics, module, monitor, pm2, queue, redis, redis-server
- Language: JavaScript
- Homepage: https://app.pm2.io/
- Size: 32.2 KB
- Stars: 23
- Watchers: 9
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Description
PM2 module to monitor a Redis server with Keymetrics
## Install
`pm2 install pm2-redis`
## Configure
- `workerInterval` (Defaults to `2` in secs) : You can control at which interval the worker is updating the stats (minimum is `1`)
- `ip` (Defaults to `127.0.0.1`): Set the host of your redis server (can be load from `PM2_REDIS_IP` env var)
- `port` (Defaults to `6379`): Set the port of your redis server (can be load from `PM2_REDIS_PORT` env var)
- `password` (Defaults to `none`): Set the password if you have activated the authentification (can be load from `PM2_REDIS_PWD` env var)#### How to set these values ?
After having installed the module you have to type :
`pm2 set pm2-redis: `e.g:
- `pm2 set pm2-redis:workerInterval 5` (every 5 seconds)
- `pm2 set pm2-redis:ip 42.42.42.42` (ip of my redis server)
- `pm2 set pm2-redis:password "bestpassword"` (the password will be used to connect to redis)## Uninstall
`pm2 uninstall pm2-redis`