Master RedisInsight: Visual Management & Monitoring of Redis with Docker and Grafana
This guide walks you through installing RedisMod via Docker, using the official RedisInsight visual tool to manage various data types, explore its CLI and Profiler features, and integrate advanced monitoring with Grafana and Prometheus for a comprehensive Redis workflow.
RedisInsight Overview
RedisInsight is the official visual management tool for Redis, offering dark and light themes, support for data types such as String, Hash, Set, List, and JSON, and a remote CLI for powerful operations.
RedisMod Overview
Redis has evolved beyond a simple in‑memory store; the RedisMod bundle adds several modules that extend its capabilities:
RediSearch – full‑text search engine
RedisJSON – native JSON support
RedisTimeSeries – time‑series database
RedisGraph – graph database
RedisBloom – probabilistic data structures
RedisGears – programmable data processing
RedisAI – real‑time machine‑learning model management
Installation
First, pull and run the full‑featured RedisMod image using Docker.
docker pull redislabs/redismod:preview docker run -p 6379:6379 --name redismod \
-v /mydata/redismod/data:/data \
-d redislabs/redismod:previewUsing RedisInsight
After the Redis service is running, manage it with RedisInsight.
Basic Usage
Download RedisInsight from https://redis.com/redis-enterprise/redis-insight/ and install it.
In the main UI, click Add Redis Database, then choose Manual Add Database and enter the connection details.
The interface displays the enabled Redis modules and lets you create keys of various types:
CLI
If the graphical UI is insufficient, open the built‑in CLI tab.
RedisInsight includes a Command Helper that lets you search command documentation, e.g., searching for hget.
Profiler
The Profiler shows command execution logs. For example, adding a key testKey will appear in the log.
Visualization Monitoring
RedisInsight provides basic monitoring, but for richer metrics you can use Grafana.
Installing Grafana and Prometheus
Pull the Grafana Docker image: docker pull grafana/grafana Run Grafana:
docker run -p 3000:3000 --name grafana \
-d grafana/grafanaPull the Prometheus image and create a prometheus.yml configuration file (example snippet shown).
global:
scrape_interval: 5sRun Prometheus with the configuration mounted:
docker run -p 9090:9090 --name prometheus \
-v /mydata/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml \
-d prom/prometheusEnter the Grafana container and install the Redis datasource plugin:
docker exec -it grafana /bin/bash
grafana-cli plugins install redis-datasourceAfter restarting Grafana, add a Redis datasource using the RedisMod container’s IP address and the credentials admin:admin, then select the Redis dashboard to view comprehensive metrics.
Conclusion
RedisInsight, as an official visual tool, offers the best user experience for managing Redis and its new modules, though its built‑in monitoring is limited; pairing it with Grafana provides a more complete monitoring solution.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
macrozheng
Dedicated to Java tech sharing and dissecting top open-source projects. Topics include Spring Boot, Spring Cloud, Docker, Kubernetes and more. Author’s GitHub project “mall” has 50K+ stars.
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.
