You can call this operation to query the monitoring granularity of an apsaradb for MongoDB instance.


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
DBInstanceId String Yes dds-bpxxxxxxxx

The ID of the instance.

AccessKeyId String No LTAIgbTGpxxxxxx

The AccessKey ID provided by Alibaba Cloud for you to access services.

Action String No DescribeDBInstanceMonitor

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

Response parameters

Parameter Type Example Description
Granularity String 1

Monitoring granularity. The return value is 1or300 in seconds.

RequestId String EFD65226-08CC-4C4D-B6A4-CB3C382F67B0

The ID of the request.


Sample requests

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

Sample success responses

XML format


JSON format


Error codes

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