Background

Currently, RDS for PostgreSQL provides two monitoring frequencies.
  • Every 60 seconds. The monitoring period is 30 days.

  • Every 300 seconds. The monitoring period is 30 days.

Prerequisites

The instance editions must be either of the following versions:
  • PostgreSQL 10 Cluster Edition (Local SSD)
  • PostgreSQL 9.4

Procedure

  1. Log on to the ApsaraDB for RDS console.
  2. In the upper-left corner of the page, select the region where the instance is located.

  3. Find the instance and click the instance ID.
  4. In the left-side navigation pane, click Monitoring and Alerts.
    Note Monitored metrics varies depending on the database engines. For more information, see View resource monitoring.
  5. Click the Monitoring tab.
  6. Click Set Monitoring Frequency.
  7. In the Set Monitoring Frequency dialog box that appears, select a monitoring frequency and click OK.

API reference

Operation Description
DescribeResourceUsage You can call this operation to query the resource usage of the instance.
DescribeDBInstancePerformance You can call this operation to query the instance performance.
DescribeDBInstanceMonitor You can call this operation to query the monitoring settings of the instance.
ModifyDBInstanceMonitor You can call this operation to change the monitoring settings of an instance.