Updated on 2025-12-19 GMT+08:00

Configuring Monitoring by Seconds

GeminiDB Redis API supports monitoring by seconds at an interval of 5 seconds to improve instantaneous accuracy of metrics.

Constraints

This function is only available to proxy cluster and primary/standby GeminiDB Redis instances with classic storage.

Monitoring by seconds cannot be enabled for instances with fewer than four vCPUs.

Even if monitoring by seconds is enabled, it will be automatically disabled when there are more than four vCPUs.

Procedure

  1. Log in to the GeminiDB console.
  2. Click in the upper left corner and select a region and project.
  3. On the Instances page, click the instance name.
  4. In the navigation pane, choose Metrics.

    • Instance-level metrics

      On the Metrics page, click the Instance-level Metrics tab and enable Monitoring by Seconds.

      Figure 1 Enabling monitoring by seconds for instance-level metrics
    • Node-level metrics

      On the Metrics page, click the Node-level Metrics tab and enable Monitoring by Seconds.

      Figure 2 Enabling monitoring by seconds for node-level metrics

  5. In the displayed dialog box, click Yes.

    • This function is unavailable to instances with fewer than four vCPUs.
    • Once this function is enabled, the system will report monitoring data again and show it in about 5 minutes.
    • Once this function is disabled, the system will report monitoring data again and show it in about 5 minutes.
    Figure 3 Enabling monitoring by seconds

  6. After enabling monitoring by seconds, select 5 second.

    Figure 4 Period

  1. Log in to the GeminiDB console.
  2. Click in the upper left corner and select a region and project.
  3. On the Instances page, click the instance name.
  4. In the navigation pane, choose Metrics.

    • Instance-level metrics

      On the Metrics page, click the Instance-level Metrics tab and disable Monitoring by Seconds.

      Figure 5 Disabling monitoring by seconds for instance-level metrics
    • Node-level metrics

      On the Metrics page, click the Node-level Metrics tab and enable Monitoring by Seconds.

      Figure 6 Disabling monitoring by seconds for node-level metrics

  5. In the displayed dialog box, click Yes.

    Once this function is disabled, the system will report monitoring data again and show it in about 5 minutes.

    Figure 7 Disabling monitoring by seconds