Queries the profiling information of a specified cluster.


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 ListCloudMetricProfilings

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

ClusterId String Yes ehpc-hz-FYUr32****

The ID of the cluster.

RegionId String No cn-hangzhou

The ID of the region.

PageNumber Integer No 1

The page number of the page to return.

Pages start from page 1.

Default value: 1

PageSize Integer No 10

The number of entries to return on each page. Valid values: 1 to 50

Default value: 10

Response parameters

Parameter Type Example Description
PageNumber Integer 1

The page number of the returned page.

PageSize Integer 1

The number of entries that are returned per page.

Profilings Array of ProfilingInfo

The profiling information of a specified cluster.

Duration Integer 30

The duration of the profiling process. Unit: seconds

Valid values: 10 to 300

Freq Integer 2000

The frequency of the profiling process. Unit: Hz

Valid values: 1 to 2000

HostName String compute5

The name of the host.

InstanceId String i-bp1j76z8dlukzqgl0****

The ID of the node.

Pid Integer 21687

The ID of the profiling process.

ProfilingId String ehpc-hz-i-bplukzqgl****_21687_2019-09-09-02-37-40

The ID of the profiling process.

TriggerTime String 2019-09-09 02:37:40

The time when the profiling process is triggered.

RequestId String 9A05F620-ED46-4A57-95F1-C67D6D3C5DD2

The ID of the request.

TotalCount Integer 1

The total number of entries.


Sample requests

&<Common request parameters>

Sample success responses

XML format

                  <TriggerTime>2019-09-09 02:37:40</TriggerTime>

JSON format

        "PageNumber": 1,
        "TotalCount": 1,
        "PageSize": 10,
        "RequestId": "9A05F620-ED46-4A57-95F1-C67D6D3C5DD2",
        "Profilings": {
            "ProfilingInfo": {
                "InstanceId": "i-bp1j76z8dlukzqgl****",
                "Duration": 30,
                "TriggerTime": "2019-09-09 02:37:40",
                "ProfilingId": "ehpc-hz-i-bplukzqgl****_21687_2019-09-09-02-37-40",
                "Freq": 2000,
                "Pid": 21687,
                "HostName": "compute5"

Error codes

HttpCode Error code Error message Description
503 ServiceUnavailable The request has failed due to a temporary failure of the server The error message returned because the request has failed. The server is temporarily unavailable.

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