Debug hot shard issues in AWS ElastiCache (Redis/Valkey) clusters with a beautiful web interface.
# Install
pip install elasticache-monitor
# Run
elasticache-monitorOpen http://localhost:8099 and start monitoring!
- 🌐 Web Interface — Modern UI with real-time updates
- ⏱️ Live Monitoring — Countdown timer, per-shard status
- 📊 Interactive Charts — Click to filter, right-click to hide
- 🔍 Analysis — Sortable tables for keys, patterns, shards, commands
- 🔄 Compare Jobs — Side-by-side comparison of 2-4 sessions
- 💾 SQL Queries — Built-in editor with quick query templates
elasticache-monitor # Default port 8099
elasticache-monitor --port 3000 # Custom port- Enter your Replication Group ID
- Enter your Redis/Valkey password
- Set duration (30-300 seconds)
- Click Start Monitoring
- Dashboard — Real-time command counts, shard status
- Charts — Command distribution, key patterns
- Analysis — Deep dive into keys and patterns
- Compare — Compare multiple monitoring sessions
- Python 3.12+
- AWS credentials (for endpoint auto-discovery)
- Network access to ElastiCache cluster
# Using uv (recommended)
uv pip install -e .
# Or pip
pip install -e .MONITOR command can impact performance on primary nodes.
The web UI defaults to replica endpoints.
{
"Effect": "Allow",
"Action": [
"elasticache:DescribeReplicationGroups",
"elasticache:DescribeCacheClusters"
],
"Resource": "*"
}| Document | Description |
|---|---|
| CLI Reference | Command-line tools (for scripting) |
| Database Schema | SQLite schema & example queries |
| Changelog | Version history |
For scripting and automation, CLI tools are still available:
elasticache-monitor-cli -c my-cluster -p PASSWORD -d 60See docs/CLI.md for full reference.
Version: 2.0.0 · Python: 3.12+ · License: MIT