Getting Started with RedisInsight and RedisMod: Installation, Usage, and Monitoring with Grafana
This guide introduces RedisInsight and RedisMod, explains how to install them via Docker, demonstrates basic data operations, explores the CLI and Profiler features, and shows how to monitor Redis with Grafana and Prometheus, providing a comprehensive workflow for managing modern Redis deployments.
RedisInsight Overview
RedisInsight is the official visual management tool for Redis, supporting multiple data types such as String, Hash, Set, List, JSON, and offering dark/light themes, remote CLI access, and powerful inspection capabilities.
RedisMod Overview
RedisMod is an enhanced Redis distribution that bundles several modules, including RediSearch, RedisJSON, RedisTimeSeries, RedisGraph, RedisBloom, RedisGears, and RedisAI, extending Redis functionality beyond a simple in‑memory store.
Installation
Use Docker to pull and run the full RedisMod image:
docker pull redislabs/redismod:preview docker run -p 6379:6379 --name redismod \
-v /mydata/redismod/data:/data \
-d redislabs/redismod:previewInstall Grafana and Prometheus also via Docker:
docker pull grafana/grafana docker run -p 3000:3000 --name grafana \
-d grafana/grafana docker pull prom/prometheus docker run -p 9090:9090 --name prometheus \
-v /mydata/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml \
-d prom/prometheusCreate a simple prometheus.yml configuration (example shown below):
global:
scrape_interval: 5sInstall the Redis datasource plugin inside the Grafana container:
docker exec -it grafana /bin/bash
grafana-cli plugins install redis-datasourceUsing RedisInsight
Download the RedisInsight installer from the official site, add a Redis connection by selecting "Add Redis Database" → "Manual Add", and enter the connection details of the running RedisMod container.
RedisInsight allows you to create and edit keys of various types (String, Hash, List, JSON) with a graphical interface, and switch between dark and light themes in settings.
CLI Feature
If the graphical interface is insufficient, open the built‑in CLI tab to execute commands directly; a Command Helper assists in finding command syntax, e.g., searching for hget .
Profiler Feature
The Profiler logs command execution; for example, adding a key testKey will appear in the Profiler view.
Visualization and Monitoring
RedisInsight provides basic monitoring, but for advanced metrics Grafana is recommended. After configuring the Redis datasource with the container IP and credentials (e.g., admin:admin ), import the Redis dashboard to view comprehensive metrics.
Conclusion
RedisInsight offers the most polished visual experience for Redis, especially with support for new modules, while Grafana combined with Prometheus delivers robust monitoring capabilities for production environments.
IT Services Circle
Delivering cutting-edge internet insights and practical learning resources. We're a passionate and principled IT media platform.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.