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
Name | Default Value | Description |
---|---|---|
Host IP Address | 127.0.0.1 | The host on which Redis is running. |
Port | 6379 | The port on which Redis is running. |
Password | NA | The password of the Redis server, if authentication is enabled. |
Redis socket file path | NA | The path of the redis unix socket. Host and port will be ignored if provided. |
Time Out | 0 | The 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 Name | Display Name | Description |
---|---|---|
redis.uptime | Redis Uptime | Checks the uptime of the Redis service. |
redis.clients.blocked | Redis Clients Blocked | Number of clients pending on a blocking call. |
redis.clients.biggest_input_buf | Redis Clients Biggest InputBuf | Biggest input buffer among current client connections. |
redis.clients.longest_output_list | Redis Clients Longest OutputList | Longest output list among current client connections. |
redis.keys.total | Redis Total Keys | Provides the total number of keys from all the DBs. |
redis.keys.evicted | Redis Evicted Keys | Number of evicted keys due to maxmemory limit. |
redis.keys.expired | Redis Expired Keys | Total number of key expiration events. |
redis.pubsub.channels | Redis Pubsub Channels | Global number of pub/sub channels with client subscriptions. |
redis.pubsub.patterns | Redis Pubsub Patterns | Global number of pub/sub pattern with client subscriptions. |
redis.perf.latest_fork_usec | Redis Latest Fork Op Time | Duration of the latest fork operation in microseconds. |
redis.keys.evicted | Redis Evicted Keys | Number of evicted keys due to maxmemory limit. |
redis.keys.expired | Redis Expired Keys | Total number of key expiration events. |
redis.pubsub.channels | Redis Pubsub Channels | Global number of pub/sub channels with client subscriptions. |
redis.pubsub.patterns | Redis Pubsub Patterns | Global number of pub/sub pattern with client subscriptions. |
redis.perf.latest_fork_usec | Redis Latest Fork Op Time | Duration of the latest fork operation in microseconds. |
redis.net.clients | Redis Client Connections | Number of client connections (excluding connections from slaves). |
redis.net.slaves | Redis Connected Slaves | Number of connected slaves. |
redis.net.rejected | Redis Connections Rejected | Number of connections rejected because of maxclients limit. |
redis.changes | Redis Changes | Number of changes since the last save. |
redis.rdb.changes | Redis RDB Changes | Number of changes since the last dump. |
redis.rdb.last_bgsave_time | Redis RDB Last Save Op Time | Duration of the last RDB save operation in seconds. |
redis.aof.last_rewrite_time | Redis AOF Last Rewrite Op Time | Duration of the last AOF rewrite operation in seconds. |
redis.aof.size | Redis AOF Size | AOF current file size in MB. |
redis.mem.used | Redis Used Memory | Total number of Mbytes allocated by Redis using its allocator (either standard libc, jemalloc, or an alternative allocator such as tcmalloc). |
redis.mem.rss | Redis RSS Memory | Number 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.lua | Redis LUA Memory | Number of Mbytes used by the Lua engine. |
redis.mem.peak | Redis Peak Memory | Peak memory consumed by Redis (in Mbytes). |
redis.mem.fragmentation_ratio | Redis Memory Fragmentation Ratio | Ratio between rss memory used and total memory used. |
redis.replica.last_io_seconds_ago | Redis Replication Lag | Number of seconds since the last interaction with master. |
redis.perf.latest_fork_usec | Redis Latest Fork Op Time | Duration of the latest fork operation in microseconds. |