Starts the profiling process of a specified cluster.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | RunCloudMetricProfiling |
The operation that you want to perform. Set the value to RunCloudMetricProfiling. |
ClusterId | String | Yes | ehpc-hz-jeJki6**** |
The ID of the cluster. |
HostName | String | Yes | compute0 |
The name of the host. |
ProcessId | Integer | Yes | 29075 |
The ID of the profiling process. |
RegionId | String | No | cn-hangzhou |
The ID of the region where the cluster resides. |
Duration | Integer | No | 300 |
The duration of the profiling process. Unit: seconds. Value values: 10 to 300 Default value: 30 |
Freq | Integer | No | 2000 |
The sampling frequency. Unit: Hz Valid values: 1 to 2000 Default value: 2000 |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 8442AF35-875B-4FC0-8B7AAFDC339335D5 |
The ID of the request. |
Examples
Sample requests
https://ehpc.cn-hangzhou.aliyuncs.com/?Action=RunCloudMetricProfiling
&ClusterId=ehpc-hz-jeJki6****
&HostName=compute000
&ProcessId=29075
&<Common request parameters>
Sample success responses
XML
format
<RunCloudMetricProfilingResponse>
<RequestId>8442AF35-875B-4FC0-8B7AAFDC339335D5</RequestId>
</RunCloudMetricProfilingResponse>
JSON
format
{
"RequestId": "8442AF35-875B-4FC0-8B7AAFDC339335D5"
}
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.