查询历史性能剖析信息。
查询集群的历史性能剖析信息。
字段 | 类型 | 是否必须 | 默认值 | 描述 |
---|---|---|---|---|
Action | String | 是 | - | 操作接口名,系统规定参数,取值:ListCloudMetricProfiling。 |
RegionId | String | 是 | - | 地域ID。 |
ClusterId | String | 是 | - | 集群ID。 |
PageNumber | Integer | 否 | 1 | 显示的页码,起始值为 1 |
PageSize | Integer | 否 | 10 | 每页显示的条数,1-50 |
除公共返回参数外返回如下结果:
字段 | 类型 | 描述 |
---|---|---|
Profilings | Array |
|
TotalCount | Integer | 列表条目总数 |
PageNumber | Integer | 当前页码 |
PageSize | Integer | 本页条数 |
ProfilingId | String | 剖析ID |
InstanceId | String | 实例ID |
HostName | String | 实例机器名 |
Pid | Integer | 进程ID |
Duration | Integer | 采集时长 |
Freq | Integer | 采集频率 |
TriggerTime | String | 触发时间 |
https://ehpc.cn-hangzhou.aliyuncs.com/?Action=ListCloudMetricProfilings&RegionId=cn-hangzhou&ClusterId=<集群ID>&<公共请求参数>
<ListCloudMetricProfilingsResponse>
<PageNumber>1</PageNumber>
<TotalCount>1</TotalCount>
<PageSize>10</PageSize>
<RequestId>9A05F620-ED46-4A57-95F1-C67D6D3C5DD2</RequestId>
<Profilings>
<ProfilingInfo>
<InstanceId>i-bp1j76z8dlukzqgl0amw</InstanceId>
<Duration>30</Duration>
<TriggerTime>2019-09-09 02:37:40</TriggerTime>
<ProfilingId>ehpc-hz-i-bplukzqgl0amw_21687_2019-09-09-02-37-40</ProfilingId>
<Freq>2000</Freq>
<Pid>21687</Pid>
<HostName>compute5</HostName>
</ProfilingInfo>
</Profilings>
</ListCloudMetricProfilingsResponse>
{
"PageNumber":1,
"TotalCount":1,
"PageSize":10,
"RequestId":"9A05F620-ED46-4A57-95F1-C67D6D3C5DD2",
"Profilings":{
"ProfilingInfo":[{
"InstanceId":"i-bp1j76z8dlukzqgl0amw",
"Duration":30,
"TriggerTime":"2019-09-09 02:37:40",
"ProfilingId":"ehpc-hz-faRavbPf6b_i-bp1j76z8dlukzqgl0amw_21687_2019-09-09-02-37-40",
"Freq":2000,
"Pid":21687,
"HostName":"compute5"
]}
}
}
在文档使用中是否遇到以下问题
更多建议
匿名提交