You can call this operation to query the monitoring data sampling interval of an Apsara PolarDB cluster.

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 No DescribeDBClusterMonitor

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

DBClusterId String Yes pc-bp1xxxxxxxxxx

The ID of the Apsara PolarDB cluster.

Response parameters

Parameter Type Example Description
Period String 60

The interval at which monitoring data is collected. Unit: seconds.

RequestId String 593AE1C5-B70C-463F-9207-074639CD412B

The ID of the request.

Examples

Sample requests

http(s)://polardb.aliyuncs.com/? Action=DescribeDBClusterMonitor
&DBClusterId=pc-bp1xxxxxxxxxx
&<Common request parameters>

Sample success responses

XML format

<RequestId>593AE1C5-B70C-463F-9207-074639CD412B</RequestId>
<Period>60</Period>

JSON format

{
    "RequestId": "593AE1C5-B70C-463F-9207-074639CD412B",
    "Period": "60"
}

Error codes

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