You can specify the interval at which monitoring data is collected in the ApsaraDB for Redis console.
You can set the data collection interval to 5 Seconds or 60 Seconds. The default data collection interval is 60 Seconds. In most cases, the default settings are sufficient. If you want to collect some metrics at a higher frequency with low latency, you can perform the following operations to change the data collection interval into 5 Seconds. Monitoring data does not occupy storage of an instance and the instance is not affected when monitoring data is collected.
For more information about the relationship between the data collection interval and monitoring data, see the methods that are used to collect metrics in Monitoring metrics.
If the data collection interval is set to 5 Seconds, the time range of a query cannot exceed 10 minutes.
- 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 is deployed. Then, find the instance and click the instance ID.
- In the left-side navigation pane, click Performance Monitor.
- In the upper-right corner of the page, click Monitoring Interval.
- In the dialog box that appears, select an interval and click OK.