Skip to content

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:

MetricDescription
service_statusStatus of Redis
redis_current_connections_clientsNumber of connected clients
redis_current_connections_slavesNumber of connected slaves
redis_evicted_keysTotal number of key evicted keys due to maxmemory limit per second
redis_expired_keysTotal number of key expiration events per second
redis_keyspace_hitsNumber of successful lookup of keys per second
redis_keyspace_missesNumber of successful lookup of keys per second
redis_keyspace_hitrateHit ratio of keys lookup in percent
redis_memoryMemory allocated by Redis in bytes
redis_memory_luaMemory used by Lua engine in bytes
redis_memory_peakPeak memory consumed by Redis in bytes
redis_memory_rssMemory used by Redis as seen by system in bytes
redis_pubsub_channelsGlobal number of pub/sub channels with client subscriptions
redis_pubsub_patternsGlobal number of pub/sub pattern with client subscriptions
redis_total_connectionsNumber of connections (client or slave) per second
redis_total_operationsNumber of commands processed by the server per second
redis_uptimeTime spent since Redis server start in seconds
redis_volatile_changesNumber of changes since the last dump