通过分页的形式查询应用下每个接口的请求量、错误数、平均响应时间三种性能数据。可通过返回信息中的Completed字段判断分页是否结束。如未结束,CurrentPage参数加一后继续发起查询即可。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
是 |
地域 ID。 |
cn-hangzhou |
| StartTime |
integer |
否 |
开始时间的时间戳,精确到毫秒。 |
1600063200000 |
| EndTime |
integer |
否 |
结束时间的时间戳,精确到毫秒。 |
1600066800000 |
| CurrentPage |
integer |
否 |
查询结果的页码。 |
1 |
| PageSize |
integer |
否 |
此参数已不支持使用。查询结果的每页项目数量。默认为 10。 |
10 |
| IntervalMills |
integer |
否 |
数据片的时间间隔,单位为毫秒,最小值为 60000,最大值为 2147483647。 |
60000 |
| PId |
string |
是 |
应用 ID。 在 ARMS 控制台的应用监控>应用列表页面单击目标应用名称。此时浏览器地址栏中的 URL 即包含应用的 pid,格式为 pid=xxx。由于浏览器进行了编码,因此需要对 pid 稍作修改。例如,如果 URL 中包含的 pid 为 xxx%4074xxx,则需要将%40 替换为@,即:xxx@74xxx。 |
a2n80plglh@745eddxxx |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| Code |
integer |
接口状态。
|
200 |
| Message |
string |
返回结果的提示信息。 |
message |
| RequestId |
string |
请求 ID。 |
B6A00968-82A8-4F14-9D1B-B53827DB**** |
| Success |
boolean |
查询是否成功。
|
true |
| Data |
object |
返回结构体。 |
|
| PageSize |
integer |
返回结果的每页项目数量。 |
10 |
| Total |
string |
返回结果的总项目数量。 说明
此参数的返回值为估算值,仅用于分页结束判断,不代表实际的数据总量 |
2 |
| Page |
integer |
返回结果的页码。 |
1 |
| Completed |
boolean |
分页查询是否结束。
|
false |
| Items |
array<object> |
返回应用接口的黄金三指标数据 |
|
|
object |
接口的黄金三指标数据 |
[] |
示例
正常返回示例
JSON格式
{
"Code": 200,
"Message": "message",
"RequestId": "B6A00968-82A8-4F14-9D1B-B53827DB****",
"Success": true,
"Data": {
"PageSize": 10,
"Total": "2",
"Page": 1,
"Completed": false,
"Items": [
[]
]
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 452 | OperationTimeOut | The system timed out when processing the current request. The request may involve too many resources and the system cannot complete the processing within the limited time. Please adjust the relevant conditions and try again. | 系统在处理当前请求时出现了超时,可能是请求涉及的资源过多导致系统无法在限定时间内处理完毕,请调整相关条件后重试。 |
| 400 | ParameterIllegal | The specified parameter is invalid. | 参数非法 |
| 400 | ParameterRegionIllegal | The specified region is invalid. | 地域参数非法 |
| 500 | InternalError | Internal error. Please try again. Contact the DingTalk service account if the issue persists after multiple retries. | 内部错误,建议重试。如果多次重试报错请联系钉钉服务账号。 |
| 403 | RetcodeDailyCustomLimit | Usage today has exceeded the custom limit. The current operation is prohibited. | 今日使用额度已经超过自定义额度,当前操作被禁止。 |
| 403 | RetcodeDailyFreeLimit | Usage today has exceeded the Essential Edition limit. The current operation is prohibited. | 今日使用额度已经超过基础版限定量,当前操作被禁止。 |
| 404 | AppNotExist | The application does not exist. | 应用不存在 |
| 404 | RunningTaskNotExist | Application data collection task does not exist or has been stopped. | 应用数据采集任务不存在或已停止 |
| 429 | OperationIsThrottled | The backend service cannot fully process the current request. The returned result may be incomplete. Adjust the operation conditions and try again. | 后端服务无法完整的处理当前请求,返回结果可能是不完整的,请调整操作条件后重试。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。