Skip to content

Redis

Auto-Detection
Health Check
Built-in Metrics
Logs
Tutorial available How to monitor Redis with Bleemeo?
Read the tutorial

Redis is an open-source, in-memory data structure store used as a database, cache, and message broker.

Glouton detects Redis by its process and listening port (default: 6379).

If auto-detected parameters are incorrect, override them manually:

Terminal window
sudo tee /etc/glouton/conf.d/99-redis.conf > /dev/null << 'EOF'
service:
# For a Redis running outside a container
- type: "redis"
address: "127.0.0.1"
port: 6379
password: "password-if-configured"
# For an additional Redis running outside a container
- type: "redis"
instance: "NAME_ASSOCIATED_WITH_YOUR_ADDITIONAL_SERVICE"
address: "127.0.0.1"
port: 6380
password: "password-if-configured"
# For a Redis running in a Docker container
- type: "redis"
instance: "CONTAINER_NAME"
address: "172.17.0.2"
port: 6379
password: "password-if-configured"
EOF

Glouton automatically detects configuration changes.

Glouton performs a Redis protocol check on the configured port to verify that the server is responding.

Metric Description
service_status Status of Redis
redis_current_connections_clients Number of connected clients
redis_current_connections_slaves Number of connected replicas
redis_evicted_keys Number of keys evicted due to maxmemory limit per second
redis_expired_keys Number of key expiration events per second
redis_keyspace_hits Number of successful key lookups per second
redis_keyspace_misses Number of failed key lookups per second
redis_keyspace_hitrate Hit ratio of key lookups in percent
redis_memory Memory allocated by Redis in bytes
redis_memory_lua Memory used by the Lua engine in bytes
redis_memory_peak Peak memory consumed by Redis in bytes
redis_memory_rss Memory used by Redis as seen by the system in bytes
redis_pubsub_channels Number of pub/sub channels with client subscriptions
redis_pubsub_patterns Number of pub/sub patterns with client subscriptions
redis_total_connections Number of connections (client or replica) per second
redis_total_operations Number of commands processed by the server per second
redis_uptime Time since Redis server start in seconds
redis_volatile_changes Number of changes since the last dump

Glouton collects Redis server logs for analysis in Bleemeo.