最近更新时间:2024.04.25 17:57:49
首次发布时间:2024.04.25 17:57:49
调用GetAppExceptionalCPUIssueDetail获取CPU问题详情。
ServiceName : apmplus_openapi Region : cn-beijing X-App-Ids : xxx Content-Type : application/json
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 |
| 接口名称。当前 API 的名称为 |
Version | String | 是 |
| 接口版本。当前 API 的版本为 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
aid | Integer | 否 |
| 应用的唯一标识符。 |
os | String | 否 |
| 操作系统。
|
start_time | Integer | 否 |
| 查询开始时间(Unix时间戳)。 |
end_time | Integer | 否 |
| 查询结束时间(Unix时间戳)。 |
filters | Object of Condition | 否 |
| 筛选条件,可以指定多个键值对来筛选数据。 |
issue_id | String | 否 |
| issue标识符。 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
op | String | 否 |
| 操作符。
|
type | String | 否 |
| 筛选条件类型。
|
value | String | 否 |
| 筛选值。 |
values | Array of String | 否 |
| 筛选值,支持多个。 |
map_key | String | 否 |
| map类型key,当type为map时必填。 |
dimension | String | 否 |
| 条件的名称。 |
sub_conditions | Array of Condition | 否 |
| 子条件。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
data | Object of IssueDetailResponseData |
| 返回数据。 |
error_msg | String |
| 错误信息。 |
error_no | Integer |
| 错误码。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
os | String |
| 操作系统。
|
issue | Object of IssueInfo |
| issue状态相关信息。 |
stack | Object of ParsedStack |
| 堆栈相关信息。 |
event_id | String |
| 事件ID。 |
issue_id | String |
| issue ID。 |
crash_user | Integer |
| 崩溃人数。 |
crash_count | Integer |
| 崩溃次数。 |
crash_ratio | Double |
| 崩溃率。 |
cpu_exception | Object of CPUException |
| CPU异常信息,包含关于CPU异常的详细数据。 |
end_app_version | String |
| 结束版本。 |
crash_user_ratio | Double |
| 崩溃用户率。 |
latest_crash_time | Long |
| 崩溃最近发生时间。 |
start_app_version | String |
| 开始版本。 |
crash_user_compare | Double |
| 崩溃人数变化率。 |
latest_report_time | Long |
| 崩溃最近上报时间。 |
crash_count_compare | Double |
| 崩溃次数变化率。 |
earliest_crash_time | Long |
| 崩溃首次发生时间。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
id | Long |
| issue在mysql里的ID,不同于issue_id。 |
tag | Array of Tags |
| 标签。 |
status | String |
| issue状态。
|
fixed_version | String |
| 修复版本号。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
brief | String |
| 堆栈的简要描述。 |
title | String |
| 堆栈标题。 |
detail | String |
| 堆栈详情。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
average_speed | Double |
| Android平均进程使用速率。 |
average_usage | Double |
| iOS平均进程使用率。 |
count_per_user | Double |
| 单次启动上报次数。 |
average_speed_compare | Double |
| Android平均进程使用速率变化率。 |
average_usage_compare | Double |
| iOS平均进程使用率变化率。 |
count_per_user_compare | Double |
| 单次启动上报次数变化率。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
id | Long |
| tag ID。 |
key | String |
| tag key。 |
values | Array of ValueId |
| tag value。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
id | Long |
| tag valueID。 |
value | String |
| tag value。 |
POST ?Action=GetAppExceptionalCPUIssueDetail&Version=2024-04-09 { "aid": 123456, "os": "Android", "start_time": 1665417600, "end_time": 1665504000, "filters": { "type": "and", "sub_conditions": [ { "dimension": "apm_version", "type": "expression", "op": "in", "values": [ "1.4.5" ] }, { "dimension": "device_model", "type": "expression", "op": "in", "values": [ "MI 5X" ] } ] }, "issue_id": "issue_12345" }
{ "data": { "os": "android", "issue": "", "stack": "", "event_id": "event_54321", "issue_id": "issue_98765", "crash_user": 17, "crash_count": 42, "crash_ratio": 0.002, "cpu_exception": "", "end_app_version": "1.0.3", "crash_user_ratio": 0.001, "latest_crash_time": 1622140800, "start_app_version": "1.0.0", "crash_user_compare": -0.05, "latest_report_time": 1622227200, "crash_count_compare": 0.1, "earliest_crash_time": 1619539200 }, "error_msg": "", "error_no": 0 }