DCS Redis Help Documentation

What Are the Basic Monitoring Metrics?

2024-05-25 02:12:45

Basic monitoring metrics include QPS, cache hit ratio, memory fragmentation ratio, memory usage, number of client connections, number of new connections per second, number of expired keys, number of expired keys per second, number of evicted keys, number of evicted keys per second and number of keys configured with expiration time.

Metric Name

Unit

Description

Concurrent Operations Per Second (QPS)

Counts/s

Total requests per second, including read and write commands.

Cache Hit Ratio

%

Hit ratio formula: Number of key hits ÷ (Number of key hits + Number of key misses).

Memory fragmentation ratio

%

mem_fragmentation_ratio (memory fragmentation ratio) = used_memory_rss (the size of the physical memory actually allocated to Redis by the OS)/ used_memory (the size of the memory actually applied for by the Redis memory allocator to store data).

The larger the value of mem_fragmentation_ratio (memory fragmentation ratio), the more serious the memory fragmentation.

Number of Connected Clients

Count

Number of client connections to the Redis instance.

Total Number of Keys

Count

Total number of keys in the Redis instance.

Number of Blocked Client Connections

Count

Number of clients currently suspended by block operations for the Redis instance.

Used Memory

G

The size of memory used by the Redis instance.

Number of New Connections per Second

Count

Number of new client connections per second to the Redis instance.

Number of Expired Keys

Count

Total number of historical expired keys recorded on the Redis instance.

Number of Expired Keys per Second

Count

Number of expired keys per second on the Redis instance.

Number of Evicted Keys

Count

Total number of historically evicted keys on the Redis instance.

Number of Evicted Keys per Second

Count

Number of evicted keys per second on the Redis instance.

Number of Keys Configured with Expiration Time

Count

The current number of expired keys on the Redis instance.


omCKEBUTn7PM