This section describes the instance metric monitoring part of the DCS Redis management console, which supports monitoring metrics including the instance QPS, cache hit ratio, memory fragmentation ratio, memory utilization, number of client connections, number of new connections per second, total number of historical expired keys, number of expired keys per second, total number of historical evicted keys, number of evicted keys per second, and the number of keys with expiration time set.
Before You Begin
A DCS Redis cluster version instance that has been successfully created and is running.
Procedure
1. Log in to the Redis management console.
2. Select the region of the instance in the upper left corner of the management console.
3. On the instance list page, click the target instance name to go to the instance details page.
4. Click on metric monitoring. This page includes basic metrics, node metrics, client sessions, top key analysis, offline full-key analysis, and expired key scanning.
5. Select the Basic Metrics tab page above and select the monitoring time to filter and query the instance monitoring data within the selected period. By default, the system queries the data for the most recent hour.
6. Monitoring data:
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. |