Skip to content

KeyDB

Monitor KeyDB using command line tools and out-of-the-box producer scripts.

1 min read Updated SS

Supported Components and Versions#

LAYER COMPONENT VERSION
DB Server KeyDB All versions

Monitoring Strategies for Components#

KeyDB is monitored using KeyDB 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. KeyDB can be monitored in both SSL and NON_SSL modes.

KPIs collected#

Component Name KPI Description
KeyDB Host Availability Checks whether the KeyDB instance is reachable and responding to PING requests.
KeyDB Cluster Availability Checks whether the KeyDB cluster is available and the cluster state is OK.
KeyDB Uptime Total time the KeyDB server has been running.
KeyDB Ops Per Sec Current number of commands processed per second.
KeyDB Connected Clients Number of active client connections.
KeyDB Blocked Clients Number of clients waiting on blocking commands.
KeyDB Total Commands Total number of commands executed since startup.
KeyDB Network Input Total bytes received from clients.
KeyDB Network Output Total bytes sent to clients.
KeyDB Used Memory Memory currently consumed by KeyDB.
KeyDB Memory Utilization Percentage of configured memory currently in use.
KeyDB Memory Fragmentation Ratio Ratio between allocated memory and RSS memory.
KeyDB Used Memory Rss Physical memory used by the KeyDB process.
KeyDB Used Memory Dataset Memory occupied by cached data only.
KeyDB Evicted Keys Number of keys evicted because the memory limit was reached.
KeyDB Expired Keys Number of keys removed due to TTL expiration.
KeyDB Cache Hit Ratio Percentage of successful key lookups served from the cache.
KeyDB Role Indicates whether the node is Master (1) or Replica (0).
KeyDB Replication Lag Delay between master and replica synchronization.
KeyDB Replication Backlog Size Size of the replication backlog buffer.
KeyDB Cpu User Total CPU time consumed by KeyDB in user mode since startup.
KeyDB Cpu System Total CPU time consumed by KeyDB in system mode since startup.
KeyDB Rejected Connections Number of client connections rejected by KeyDB.
KeyDB Total Keys Total number of keys stored across all databases.