ApsaraDB for Redis provides a variety of performance metrics, such as CPU utilization, memory usage, average latency, and QPS (queries per second). You can query the monitoring data of a Redis instance during a specified period of time in the last month. This helps you gain insights into the status of the Redis instance and troubleshoot issues.
Procedure
Log on to the ApsaraDB for Redis console and go to the Instances page. In the top navigation bar, select the region in which the instance that you want to manage resides. Then, find the instance and click the instance ID.
In the left-side navigation pane, click Performance Monitoring.
Perform the following operations based on the architecture of the instance:
If the instance uses the master-replica architecture, you only need to pay attention to the metrics of the master node.
If the instance uses the cluster or read/write splitting architecture, you have the following options:
On the
tab, you can view the overall performance of the instance. Metrics on the All tab provide the aggregated monitoring data of replica nodes or read replicas. Different metrics use different aggregate methods such as taking the average or sum value. For example, the CPU utilization on the All tab is the average value of all replica nodes or read replicas.On the
tab, you can view the monitoring metrics of each data node.
If your instance has proxy nodes, you can view the overall performance of the proxy nodes on the
tab and view the metrics of each proxy node on the tab.
NoteYou can view the monitoring data within the last month. In most cases, the maximum time range that you can specify for a query is three days.
To ensure a smooth and efficient performance monitoring experience and prevent negative impacts on the operation of your Tair instance, the granularity of data displayed in the trend charts varies based on the time range that you select.
For read/write splitting instances of Redis, read replicas are not counted towards the metrics that use an aggregate method.
Related API operations
API operation | Description |
Queries the performance monitoring history of an instance of Redis. |
References
For information about how to troubleshoot performance issues and optimize the performance of ApsaraDB for Redis, see the following topics:
For information about Redis performance stress testing, see Performance White Paper.