All Products
Search
Document Center

Cloud Monitor:DescribeCustomMetricList

Last Updated:Jan 23, 2026

Queries the reported monitoring data.

Operation description

Note

You can call the DescribeMetricList operation to query the metrics of cloud services. For more information, see DescribeMetricList.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

GroupId

string

No

The ID of the application group.

For information about how to query the IDs of application groups, see DescribeMonitorGroups.

7378****

MetricName

string

No

The name of the custom metric.

cpu_total

Dimension

string

No

The dimensions based on which the resources are queried.

{sampleName1=value1&sampleName2=value2}

Md5

string

No

The MD5 value of the HTTP request body. The MD5 value is a 128-bit hash value used to verify the uniqueness of the reported monitoring data.

97c25982d9745a231276bff27469****

PageNumber

string

No

The page number.

Pages start from page 1. Default value: 1.

1

PageSize

string

No

The number of entries per page.

Pages start from page 1. Default value: 10.

10

For more information about common request parameters, see Common parameters.

Response elements

Element

Type

Description

Example

object

Code

string

The responses code.

Note

The status code 200 indicates that the request was successful.

200

Message

string

The returned message.

success

RequestId

string

The request ID.

1AF425E4-1DEA-54F2-910A-8117C9686140

Result

string

The reported custom metrics that are found in the query.

{\"all\":0,\"size\":10,\"param\":{\"metric\":\"{\\\"metricName\\\":\\\"cpu_total\\\",\\\"groupId\\\":7378****,\\\"project\\\":\\\"acs_customMetric_120886317861****\\\",\\\"dimension\\\":\\\"sampleName1=value1&sampleName2=value2\\\",\\\"status\\\":1}\",\"service\":\"metric-center.aliyun-inc.com\"},\"page\":1,\"list\":[]}

Examples

Success response

JSON format

{
  "Code": "200",
  "Message": "success",
  "RequestId": "1AF425E4-1DEA-54F2-910A-8117C9686140",
  "Result": "{\\\"all\\\":0,\\\"size\\\":10,\\\"param\\\":{\\\"metric\\\":\\\"{\\\\\\\"metricName\\\\\\\":\\\\\\\"cpu_total\\\\\\\",\\\\\\\"groupId\\\\\\\":7378****,\\\\\\\"project\\\\\\\":\\\\\\\"acs_customMetric_120886317861****\\\\\\\",\\\\\\\"dimension\\\\\\\":\\\\\\\"sampleName1=value1&sampleName2=value2\\\\\\\",\\\\\\\"status\\\\\\\":1}\\\",\\\"service\\\":\\\"metric-center.aliyun-inc.com\\\"},\\\"page\\\":1,\\\"list\\\":[]}"
}

Error codes

HTTP status code

Error code

Error message

Description

400 %s %s
500 %s %s
500 InternalError The request processing has failed due to some unknown error.
403 %s %s
404 %s %s

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.