You can call this operation to modify the monitoring frequency.

Make sure that you fully know the billing methods and price list of RDS before using this operation.

Alibaba Cloud provides different monitoring frequencies for different instances. For more information, see Set the monitoring frequency of an ApsaraDB RDS MySQL instance.

Note You have to pay the extra fee for the second-level monitoring.


You can use OpenAPI Explorer to perform debugging. OpenAPI Explorer allows you to perform various operations to simplify API usage. For example, you can retrieve APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Parameter Type Required? Example Description
Action String Yes ModifyDBInstanceMonitor

The operation that you want to perform. Set this parameter to ModifyDBInstanceMonitor.

DBInstanceId String Yes rm-uf6wjk5xxxxxxx

The ID of the instance.

Period String Yes 60

The monitoring period. Valid values:

  • 5
  • 60
  • 300

Unit: second.

AccessKeyId String No LTAIfCxxxxxxx

The AccessKey ID issued by Alibaba Cloud for users to access services.

ClientToken String No ETnLKlblzczshOTUbOCzxxxxxxx

The client token that is used to guarantee the idempotency of requests. The client token is generated by the client and is unique among different requests. It is a string of up to 64 ASCII characters.

Response parameters

Parameter Type Example Description
RequestId String 52B9805C-432C-4ED1-83FD-2F916B6D2733

The ID of the request.


Sample requests

http(s):// Action=ModifyDBInstanceMonitor
&<Common request parameters>

Successful response examples

XML format


JSON format


Error codes

HTTP status code Error code Error message Description
404 InvalidDBInstanceId.NotFound The DBInstanceId provided does not exist in our records. The error message returned when the instance does not exist. Verify that the instance is managed by the logged-in account and has not been deleted.

For a list of error codes, visit the API Error Center.