MCPcopy
hub / github.com/nkrode/RedisLive

github.com/nkrode/RedisLive @main sqlite

repository ↗ · DeepWiki ↗
2,421 symbols 7,050 edges 68 files 49 documented · 2%
README

RedisLive

original project and loading address: https://github.com/nkrode/RedisLive

Visualize your redis instances, analyze query patterns and spikes.

Redis Live

Setup Instructions

Installation

Install Dependencies

You'll also need argparse if you're running Python < 2.7:

Get RedisLive

Configuration

  • edit redis-live.conf :
  • 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.
  • 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).
  • passwords can be added as an optional parameter for any redis instance

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"

Start RedisLive

  • start the monitoring script ./redis-monitor.py --duration=120 duration is in seconds (see caveat)
  • start the webserver ./redis-live.py
  • RedisLive is now running @ http://localhost:8888/index.html

Caveat on monitoring redis

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.

Authors

Nitin Kumar

  • http://twitter.com/nkrode

Contributors

License

RedisLive is released under the MIT license: + www.opensource.org/licenses/MIT

Core symbols most depended-on inside this repo

W
called by 277
src/www/js/google/chart.js
U
called by 233
src/www/js/google/chart.js
X
called by 194
src/www/js/google/jsapi.js
b
called by 122
src/www/js/google/chart.js
Ui
called by 97
src/www/js/google/chart.js
Gi
called by 93
src/www/js/google/chart.js
Si
called by 93
src/www/js/google/chart.js
ok
called by 91
src/www/js/google/chart.js

Shape

Function 2,354
Method 52
Class 15

Languages

TypeScript97%
Python3%

Modules by API surface

src/www/js/google/chart.js2,216 symbols
src/www/js/libs/jquery/jquery-1.7.2.min.js42 symbols
src/www/js/google/jsapi.js23 symbols
src/www/js/libs/less/less-1.3.0.min.js22 symbols
src/redis-monitor.py21 symbols
src/dataprovider/sqliteprovider.py11 symbols
src/dataprovider/redisprovider.py11 symbols
src/www/js/libs/underscore/underscore-min.js7 symbols
src/www/js/libs/bootstrap/js/bootstrap-modal.js6 symbols
src/www/js/libs/handlebars/handlebars-1.0.0.beta.6.js5 symbols
src/www/js/libs/backbone/backbone-min.js5 symbols
src/api/util/settings.py5 symbols

Dependencies from manifests, versioned

argparse1.2.1 · 1×
python-dateutil1.5 · 1×
tornado2.1.1 · 1×

For agents

$ claude mcp add RedisLive \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact