Redis
Auto-Discovery
Health Check
Metrics
Logs
Agent uses a Redis check if the service listen on port 6379.
If some auto-detected parameters are wrong, you can manually override them
by adding the following to /etc/glouton/conf.d/99-local.conf:
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"Agent gathers the following metrics:
| Metric | Description |
|---|---|
| service_status | Status of Redis |
| redis_current_connections_clients | Number of connected clients |
| redis_current_connections_slaves | Number of connected slaves |
| redis_evicted_keys | Total number of key evicted keys due to maxmemory limit per second |
| redis_expired_keys | Total number of key expiration events per second |
| redis_keyspace_hits | Number of successful lookup of keys per second |
| redis_keyspace_misses | Number of successful lookup of keys per second |
| redis_keyspace_hitrate | Hit ratio of keys lookup in percent |
| redis_memory | Memory allocated by Redis in bytes |
| redis_memory_lua | Memory used by Lua engine in bytes |
| redis_memory_peak | Peak memory consumed by Redis in bytes |
| redis_memory_rss | Memory used by Redis as seen by system in bytes |
| redis_pubsub_channels | Global number of pub/sub channels with client subscriptions |
| redis_pubsub_patterns | Global number of pub/sub pattern with client subscriptions |
| redis_total_connections | Number of connections (client or slave) per second |
| redis_total_operations | Number of commands processed by the server per second |
| redis_uptime | Time spent since Redis server start in seconds |
| redis_volatile_changes | Number of changes since the last dump |