Skip to content

Commit 3f1160f

Browse files
committed
Update README.md
1 parent 46aa122 commit 3f1160f

File tree

1 file changed

+3
-37
lines changed

1 file changed

+3
-37
lines changed

README.md

Lines changed: 3 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -5,43 +5,9 @@ Visualize your redis instances, analyze query patterns and spikes.
55

66
![Redis Live](https://github.com/kumarnitin/RedisLive/blob/master/design/redis-live.png?raw=true "Redis Live")
77

8-
Installation
9-
------------
10-
**Install Dependencies**
11-
+ [tornado](https://github.com/facebook/tornado) `pip install tornado`
12-
+ [redis.py] (https://github.com/andymccurdy/redis-py) `pip install redis`
13-
+ [python-dateutil] (http://labix.org/python-dateutil) `pip install python-dateutil`
14-
15-
You'll also need argparse if you're running Python < 2.7:
16-
17-
+ [argparse] (http://code.google.com/p/argparse/) `pip install argparse`
18-
19-
**Get RedisLive**
20-
+ Clone the repo `git clone https://github.com/kumarnitin/RedisLive.git`, or [download the latest release](https://github.com/kumarnitin/RedisLive/zipball/master)
21-
22-
**Configuration**
23-
+ edit redis-live.conf :
24-
+ update the value of the key `RedisServers` to the redis instances you want to monitor. You can monitor multiple instances by appending more values to the RedisServers list.
25-
+ update the value of the key `RedisStatsServer` to the redis instance you will use to store RedisLive data (this redis instance is different from the redis instances you are monitoring).
26-
+ passwords can be added as an optional parameter for any redis instance
27-
28-
if you don't have a spare redis instance to use to store RedisLive data, then you can configure RedisLive to use sqlite by changing to ` "DataStoreType" : "sqlite" `
29-
30-
**Start RedisLive**
31-
+ start the monitoring script `./redis-monitor.py --duration=120` duration is in seconds ([see caveat](#caveat-on-monitoring-redis))
32-
+ start the webserver `./redis-live.py`
33-
+ RedisLive is now running @ `http://localhost:8888/index.html`
34-
35-
36-
Caveat on monitoring redis
37-
--------------------------
38-
39-
Currently the only hook into monitoring a redis instance is Redis [MONITOR](http://redis.io/commands/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.
40-
41-
Feedback
42-
--------
43-
44-
Have feedback, feature request or improvements you'd like to see? Drop me a note [@nkrode](https://twitter.com/#!/nkrode) or just fork and send a pull request :-)
8+
Setup Instructions
9+
------------------
10+
Details and setup instructions [here](http://www.nkrode.com/article/real-time-dashboard-for-redis)
4511

4612
Authors
4713
-------

0 commit comments

Comments
 (0)