Collector Type: Agent

Category: Application Monitors

Application Name: Redis

Global Template Name: Linux - RedisDB Monitors

Introduction

Redis is an in-memory data structure store, used as a distributed, in-memory key–value database, cache and message broker, with optional durability. Redis supports different kinds of abstract data structures, such as strings, lists, maps, sets, sorted sets, HyperLogLogs, bitmaps, streams, and spatial indexes.

Parameters

NameDefault ValueDescription
Host IP Address127.0.0.1The host on which Redis is running.
Port6379The port on which Redis is running.
PasswordNAThe password of the Redis server, if authentication is enabled.
Redis socket file pathNAThe path of the redis unix socket. Host and port will be ignored if provided.
Time Out0The socket timeout for the redis connection. The value 0 means the timeout disabled.

Note: All field attributes are mandatory, use default values wherever applicable.

Collected Metrics

Metric NameDisplay NameDescription
redis.uptimeRedis UptimeChecks the uptime of the Redis service.
redis.clients.blockedRedis Clients BlockedNumber of clients pending on a blocking call.
redis.clients.biggest_input_bufRedis Clients Biggest InputBufBiggest input buffer among current client connections.
redis.clients.longest_output_listRedis Clients Longest OutputListLongest output list among current client connections.
redis.keys.totalRedis Total KeysProvides the total number of keys from all the DBs.
redis.keys.evictedRedis Evicted KeysNumber of evicted keys due to maxmemory limit.
redis.keys.expiredRedis Expired KeysTotal number of key expiration events.
redis.pubsub.channelsRedis Pubsub ChannelsGlobal number of pub/sub channels with client subscriptions.
redis.pubsub.patternsRedis Pubsub PatternsGlobal number of pub/sub pattern with client subscriptions.
redis.perf.latest_fork_usecRedis Latest Fork Op TimeDuration of the latest fork operation in microseconds.
redis.keys.evictedRedis Evicted KeysNumber of evicted keys due to maxmemory limit.
redis.keys.expiredRedis Expired KeysTotal number of key expiration events.
redis.pubsub.channelsRedis Pubsub ChannelsGlobal number of pub/sub channels with client subscriptions.
redis.pubsub.patternsRedis Pubsub PatternsGlobal number of pub/sub pattern with client subscriptions.
redis.perf.latest_fork_usecRedis Latest Fork Op TimeDuration of the latest fork operation in microseconds.
redis.net.clientsRedis Client ConnectionsNumber of client connections (excluding connections from slaves).
redis.net.slavesRedis Connected SlavesNumber of connected slaves.
redis.net.rejectedRedis Connections RejectedNumber of connections rejected because of maxclients limit.
redis.changesRedis ChangesNumber of changes since the last save.
redis.rdb.changesRedis RDB ChangesNumber of changes since the last dump.
redis.rdb.last_bgsave_timeRedis RDB Last Save Op TimeDuration of the last RDB save operation in seconds.
redis.aof.last_rewrite_timeRedis AOF Last Rewrite Op TimeDuration of the last AOF rewrite operation in seconds.
redis.aof.sizeRedis AOF SizeAOF current file size in MB.
redis.mem.usedRedis Used MemoryTotal number of Mbytes allocated by Redis using its allocator (either standard libc, jemalloc, or an alternative allocator such as tcmalloc).
redis.mem.rssRedis RSS MemoryNumber of bytes that Redis allocated as seen by the operating system (a.k.a resident set size). This is the number reported by tools such as top and ps.
redis.mem.luaRedis LUA MemoryNumber of Mbytes used by the Lua engine.
redis.mem.peakRedis Peak MemoryPeak memory consumed by Redis (in Mbytes).
redis.mem.fragmentation_ratioRedis Memory Fragmentation RatioRatio between rss memory used and total memory used.
redis.replica.last_io_seconds_agoRedis Replication LagNumber of seconds since the last interaction with master.
redis.perf.latest_fork_usecRedis Latest Fork Op TimeDuration of the latest fork operation in microseconds.