Skip to content

Redis

Redis support and command-line-based monitoring in HEAL.

2 min read Updated SS

Supported Components and Versions#

LAYER COMPONENT VERSION
DB Server Redis 6.2.5 (7.8.6 on Kubernetes)

Monitoring Strategies for Components#

Redis is monitored using Redis command line tools. Out-of-the-box producer scripts from HEAL use these tools to generate metrics, which are then pushed to HEAL’s Ingestion API layer.

KPIs collected#

Component Name kpi_name kpi_identifier KpiDescription Units
Redis Availability REDIS_NODE_AVAILABILITY indicates the percentage of time that a system or component is available and functioning correctly. Count
Redis Keys REDIS_KEYS The total number of keys stored in the cache including both expired and non-expired keys Count
Redis Expires REDIS_EXPIRES shows the expiration time of a particular object. Count
Redis Avg Ttl REDIS_AVG_TTL The average time-to-live (TTL) of data stored in a cache. Milliseconds
Redis Calls REDIS_CALLS The number of times a particular function or method is called. Count
Redis Failed Calls REDIS_FAILED_CALLS The total CPU time consumed by these commands Count
Redis Rejected Calls REDIS_REJECTED_CALLS The average CPU consumed per command execution Count
Redis Usec REDIS_USEC The number of rejected calls (errors prior command execution) Count
Redis Usec Per Call REDIS_USEC_PER_CALL The number of failed calls (errors within the command execution) Count
Redis Used Mem REDIS_USED_MEM Human readable representation of Used Memory Bytes
Redis Used Mem Rss REDIS_USED_MEM_RSS Human readable representation of used_memory_rss Bytes
Redis Used Mem Peak REDIS_USED_MEM_PEAK Human readable representation of Peak memory consumed by Redis (in bytes) Bytes
Redis Sync Partial Err REDIS_SYNC_PARTIAL_ERR The number of denied partial resync requests Count
Redis Expired Keys REDIS_EXPIRED_KEYS represents the number of keys that have expired. Count
Redis Evicted Keys REDIS_EVICTED_KEYS The number of keys that have been evicted from the cache. Count
Redis Keyspace Hits REDIS_KEYSPACE_HITS Number of successful lookup of keys in the main dictionary Count
Redis Keyspace Misses REDIS_KEYSPACE_MISSES Number of failed lookup of keys in the main dictionary Count
Redis Pubsub Channels REDIS_PUBSUB_CHANNELS Global number of pub/sub channels with client subscriptions Count
Redis Pubsub Patterns REDIS_PUBSUB_PATTERNS Global number of pub/sub pattern with client subscriptions Count
Redis Connected Clients REDIS_CONNECTED_CLIENTS the number of clients that are currently connected to a server. Count
Redis Cluster Connections REDIS_CLUSTER_CONNECTIONS An approximation of the number of sockets used by the clusters bus Count
Redis Max Clients REDIS_MAXCLIENTS 'The value of the maxclients configuration directive. This is the upper limit for the sum of connected_clients, connected_slaves and cluster_connections.' Count
Redis Client Max In Buffer REDIS_CLIENT_MAX_IN_BUFFER maximum size of the input buffer for client connections. Count
Redis Client Max Out Buffer REDIS_CLIENT_MAX_OUT_BUFFER maximum size of the output buffer for client connections. Count
Redis Blocked Clients REDIS_BLOCKED_CLIENTS Number of clients currently blocked waiting for a lock Count
Redis Tracking Clients REDIS_TRACKING_CLIENTS Number of clients being tracked Count
Redis Clients Timeout Table REDIS_CLIENTS_TIMEOUT_TABLE number of clients timed out and waiting for a response. Count
Redis Slave Lag REDIS_SLAVE_LAG Lag time between the master and the slave database. Count
Redis Errorstat Err REDIS_ERRORSTAT_ERR errorstats section enables keeping track of the different errors Count
Redis Redis Master REDIS_MASTER Status of the Redis master server. Count
Redis Redis Slave REDIS_SLAVE Status of the Redis slave server. Count
Redis Redis Cluster Availability REDIS_CLUSTER_AVAILABILITY To determine Cluster Status of Redis. Count
Redis Redis Number Of Keys REDIS_NUMBER_OF_KEYS To determine numbers of keys available in Redis. Count