Queries the profiling process result of a 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 Yes GetCloudMetricProfiling

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

ClusterId String Yes ehpc-hz-jeJki6****

The ID of the cluster.

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

The ID of the profiling. You can obtain the ID of the profiling process by calling the ListCloudMetricProfilings operation.

RegionId String No cn-hangzhou

The ID of the region where the cluster resides.

Response parameters

Parameter Type Example Description
RequestId String 0DD6F715-85EE-4EA6-BDC4-48A75B719068

The ID of the request.

SvgUrls Array of SvgInfo

The list of profiling process results.

SvgInfo
Name String ehpc-hz-faRavbPf6b_i-bdrftgyh890654****_21687_2019-09-09-02-37-40.bottomup.svg

The name of the scalable vector graphics (SVG) file that contains the profiling results.

Size Integer 648

The size of the SVG file.

Type String file

The type of the SVG file.

Url String https://cloudmetrics-****-hz.oss-cn-hangzhou.aliyuncs.com/112****/ehpc-hz-faRavb****njuik%Oxlftyhujmi0Y****

The URL of the SVG file that is stored in Object Storage Service (OSS).

Examples

Sample requests

https://ehpc.cn-hangzhou.aliyuncs.com/?Action=GetCloudMetricProfiling
&ClusterId=ehpc-hz-jeJki6****
&ProfilingId=ehpc-hz-i-bplukzqgl****_21687_2019-09-09-02-37-40
&<Common request parameters>

Sample success responses

XML format

<GetCloudMetricProfilingResponse>
      <RequestId>0DD6F715-85EE-4EA6-BDC4-48A75B719068</RequestId>
      <SvgUrls>
            <SvgInfo>
                  <Name>ehpc-hz-faRavbPf6b_i-bdrftgyh890654****_21687_2019-09-09-02-37-40.svg</Name>
                  <Size>648</Size>
                  <Type>file</Type>
                  <Url>https://cloudmetrics-****-hz.oss-cn-hangzhou.aliyuncs.com/112****/ehpc-hz-faRavb****njuik%Oxlftyhujmi0Y****</Url>
            </SvgInfo>
      </SvgUrls>
</GetCloudMetricProfilingResponse>

JSON format

{
"RequestId": "0DD6F715-85EE-4EA6-BDC4-48A75B719068",
"SvgUrls": {
    "SvgInfo": [
        {
        "Name": "ehpc-hz-faRavbPf6b_i-bdrftgyh890654****_21687_2019-09-09-02-37-40.svg",
        "Size": 648,
        "Type": "file",
        "Url": "https://cloudmetrics-****-hz.oss-cn-hangzhou.aliyuncs.com/112****/ehpc-hz-faRavb****njuik%Oxlftyhujmi0Y****"
        }
    ]
    }
}

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.