Configuring Second-Level Monitoring
RDS for MySQL supports monitoring by seconds. You can choose the monitoring interval to 1 second or 5 seconds to view the metric values.
To apply for the second-level monitoring permissions, submit a service ticket by choosing Service Tickets > Create Service Ticket in the upper right corner of the management console.
Enabling Second-Level Monitoring
- Log in to the management console.
- Click
in the upper left corner and select a region and a project. - Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
- On the Instance Management page, click the target DB instance.
- In the navigation pane on the left, choose Advanced O&M.
- On the displayed page, click the Real-Time Monitoring tab and click
next to Second-Level Monitoring. - In the displayed dialog box, select a collection period and click Yes.
The second-level monitoring function will be automatically disabled for DB instances with fewer than 4 vCPUs. After you enable this function, monitoring data will be reported again and will be displayed by the second, starting approximately 5 minutes after the function was enabled.
Figure 1 Enabling second-level monitoring
Disabling Second-Level Monitoring
- Log in to the management console.
- Click
in the upper left corner and select a region and a project. - Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
- On the Instance Management page, click the target DB instance.
- In the navigation pane on the left, choose Advanced O&M.
- On the displayed page, click the Real-Time Monitoring tab and click
next to Second-Level Monitoring. - In the displayed dialog box, click Yes.
After you disable this function, monitoring data will be reported again, starting approximately 5 minutes after the function was disabled.
Figure 2 Disabling second-level monitoring
Modifying Collection Period
- Log in to the management console.
- Click
in the upper left corner and select a region and a project. - Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
- On the Instance Management page, click the target DB instance.
- In the navigation pane on the left, choose Advanced O&M.
- On the displayed page, click the Real-Time Monitoring tab and click Modify Collection Period next to Second-Level Monitoring.
- In the displayed dialog box, select a collection period and click Yes. Figure 3 Modifying the collection period
Last Article: Setting Alarm Rules
Next Article: Viewing Monitoring Metrics
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.