Before using this API, ensure that you have fully understood the billing methods and pricing of RDS.

This API is used to set the monitoring frequency of your RDS instance.

Note Second-level monitoring incurs additional costs.


Click here to perform a debug operation in OpenAPI Explorer and automatically generate an SDK code example.

Request parameters

Parameter Type Required Example value Description
Action String Yes ModifyDBInstanceMonitor

Action to perform. Value: ModifyDBInstanceMonitor.

DBInstanceId String Yes rm-uf6wjk5xxxxxxx

Instance ID.

Period String Yes 60

Data collection frequency. Value:

  • 5
  • 60
  • 300

Unit: second

To view the data collection frequencies supported by different instances, see Set monitoring frequency.

Note The 5-second monitoring frequency incurs additional costs.
AccessKeyId String No LTAIfCxxxxxxx

Used to access Alibaba Cloud services.

ClientToken String No ETnLKlblzczshOTUbOCzxxxxxxx

Guarantee the idempotence of the request. The value is generated by a client. It must be unique among all requests and can contain a maximum of 64 ASCII characters.


Request example

&<Common request parameters>

Normal response example

XML format


JSON format


Error codes

Click here to view error codes.