Updated on 2023-12-13 GMT+08:00

Configuring Monitoring by Seconds

The default monitoring interval is 1 minute. To improve the instantaneous accuracy of monitoring metrics, you can set the monitoring interval to 5 seconds.

Precautions

Enabling Monitoring by Seconds

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Document Database Service.
  4. On the Instances page, click the target instance name.
  5. In the navigation pane on the left, choose Advanced O&M.
  6. On the displayed page, click the Real-Time Monitoring tab and click next to Monitoring by Seconds.

    Instances with fewer than four vCPUs do not support monitoring by seconds.

  7. In the displayed dialog box, select a collection period and click Yes.

    Monitoring by Seconds will be automatically disabled for instances with fewer than 4 vCPUs. After you enable this function, monitoring data will be reported again and will be displayed by seconds about five minutes later.

    Figure 1 Enable Monitoring by Seconds

Disabling Monitoring by Seconds

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Document Database Service.
  4. On the Instances page, click the target instance name.
  5. In the navigation pane on the left, choose Advanced O&M.
  6. On the displayed page, click the Real-Time Monitoring tab and click next to Monitoring by Seconds.
  7. In the displayed dialog box, click Yes.

    After you disable this function, monitoring data will be reported again and will be displayed by the minute about five minutes later.

    Figure 2 Disable Monitoring by Seconds