提供ESA边缘容器的各项指标监控数据。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
esa:DescribeEdgeContainerAppStats |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| Tenant |
string |
否 |
租户。 |
t-xxxx |
| App |
string |
是 |
应用基础信息。 |
app-xxxx |
| Locate |
string |
否 |
地区。 |
huizhou |
| Isp |
string |
否 |
运营商。 |
telecom,unicom,mobile |
| Fields |
string |
是 |
指标字段。 枚举值:
|
pod_ready_rate |
| StartTime |
string |
否 |
开始时间。日期格式按照 ISO8601 表示法,并使用 UTC 时间,格式为 yyyy-MM-ddTHH:mm:ssZ。 |
2024-09-02T15:04:05Z |
| EndTime |
string |
否 |
获取数据的结束时间点。日期格式按照 ISO8601 表示法,并使用 UTC+0 时间,格式为 yyyy-MM-ddTHH:mm:ssZ。 说明
结束时间需大于起始时间。 |
2024-09-02T16:04:05Z |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| CpuUsageSecondsQuotaRateAvg |
number |
CPU limit 比例平均值 |
0.1 |
| CpuUsageSecondsTotalAvg |
number |
CPU 核数平均值 |
2 |
| FsReadsBytesAvgAvg |
number |
读 IO 平均值 |
0 |
| FsWritesBytesAvgAvg |
number |
写 IO 平均值 |
0 |
| MemoryRssAvg |
number |
内存使用量平均值 |
0.1 |
| MemoryRssQuotaRateAvg |
number |
内存 limit 占比平均值 |
1 |
| PodReadyRateAvg |
number |
PodReady 率平均值 |
100 |
| Points |
array<object> |
图表对应列的时间和数值。 |
|
|
object |
图表对应列的数值和时间。 |
||
| Time |
string |
变更时间。格式为:yyyy-MM-ddTHH:mm:ssZ(UTC 时间)。 |
2024-01-18T15:04:05Z |
| ContainerCpuUsageSecondsQuotaRate |
number |
CPU limit 比例% |
0.1 |
| ContainerCpuUsageSecondsTotal |
number |
CPU 核数 |
2 |
| ContainerFsReadsBytesAvg |
number |
读 IO |
0 |
| ContainerFsWritesBytesAvg |
number |
写 IO |
0 |
| ContainerMemoryRss |
number |
内存使用量 |
0.1 |
| ContainerMemoryRssQuotaRate |
number |
内存 limit 占比 |
1 |
| PodReadyRate |
number |
PodReady 率 |
100 |
| RequestId |
string |
Id of the request |
35C66C7B-671H-4297-9187-2C4477247A78 |
示例
正常返回示例
JSON格式
{
"CpuUsageSecondsQuotaRateAvg": 0.1,
"CpuUsageSecondsTotalAvg": 2,
"FsReadsBytesAvgAvg": 0,
"FsWritesBytesAvgAvg": 0,
"MemoryRssAvg": 0.1,
"MemoryRssQuotaRateAvg": 1,
"PodReadyRateAvg": 100,
"Points": [
{
"Time": "2024-01-18T15:04:05Z",
"ContainerCpuUsageSecondsQuotaRate": 0.1,
"ContainerCpuUsageSecondsTotal": 2,
"ContainerFsReadsBytesAvg": 0,
"ContainerFsWritesBytesAvg": 0,
"ContainerMemoryRss": 0.1,
"ContainerMemoryRssQuotaRate": 1,
"PodReadyRate": 100
}
],
"RequestId": "35C66C7B-671H-4297-9187-2C4477247A78"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidEndTime.Malformed | The specified EndTime is invalid. | 请提供正确的结束时间格式。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:yyyy-MM-ddTHH:mm:ssZ。 |
| 400 | InvalidStartTime.Malformed | The specified StartTime parameter is invalid. | 请提供正确的开始时间格式。日期格式按照ISO8601表示法,并使用UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ。 |
| 400 | InvalidEndTime.Mismatch | The specified EndTime is earlier than the StartTime. | 您填入的结束时间早于开始时间,请检查后重试。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。