Queries the monitoring frequency of an ApsaraDB RDS instance.

Note This operation is not supported for RDS instances that run PostgreSQL. The monitoring frequency of such an instance varies based on the query time range. For more information, see Query performance metrics.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeDBInstanceMonitor

The operation that you want to perform. Set the value to DescribeDBInstanceMonitor.

DBInstanceId String Yes rm-uf6wjk5xxxxxxx

The ID of the instance. You can call the DescribeDBInstances operation to query the IDs of instances.

ClientToken String No ETnLKlblzczshOTUbOCzxxxxxxx

The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can only contain ASCII characters and cannot exceed 64 characters in length.

Response parameters

Parameter Type Example Description
Period String 60

The monitoring frequency. Unit: seconds.

RequestId String 30829FD4-1A84-4C2A-A625-2EADECB95CA3

The ID of the request.

Examples

Sample requests

http(s)://rds.aliyuncs.com/?Action=DescribeDBInstanceMonitor
&DBInstanceId=rm-uf6wjk5xxxxxxx
&<Common request parameters>

Sample success responses

XML format

<DescribeDBInstanceMonitorResponse>
	  <period>60</period>
	  <requestId>30829FD4-1A84-4C2A-A625-2EADECB95CA3</requestId>
</DescribeDBInstanceMonitorResponse>

JSON format

{
    "period": "60", 
    "requestId": "30829FD4-1A84-4C2A-A625-2EADECB95CA3"
}

Error codes

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