original project and loading address: https://github.com/nkrode/RedisLive
Visualize your redis instances, analyze query patterns and spikes.
Install Dependencies
pip install tornado
pip install redis
pip install python-dateutil
You'll also need argparse if you're running Python < 2.7:
pip install argparse
Get RedisLive
git clone https://github.com/kumarnitin/RedisLive.git
, or download the latest releaseRedisServers
to the redis instances you want to monitor. You can monitor multiple instances by appending more values to the RedisServers list.RedisStatsServer
to the redis instance you will use to store RedisLive data (this redis instance is different from the redis instances you are monitoring).if you don't have a spare redis instance to use to store Redis Live data, then you can configure to use sqlite by changing "DataStoreType" : "sqlite"
./redis-monitor.py --duration=120
duration is in seconds (see caveat)./redis-live.py
http://localhost:8888/index.html
Currently the only hook into monitoring a redis instance is Redis MONITOR command, which streams back every command processed and reduces the throughput of the redis instance. It is recommended to run redis-monitor with --duration suitable for your redis deployment and scheduling it to run periodically as a cron job.
Nitin Kumar
RedisLive is released under the MIT license: