最近更新时间:2023.06.06 10:35:09
首次发布时间:2023.03.13 16:59:23
调用GetAppExceptionIssueDetail接口获取App端崩溃分析、MetricKit、崩溃防护、自定义错误、卡顿分析相关的issue详情。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | string | 是 |
| 请求名称。 |
Version | string | 是 |
| 请求版本。 |
ServiceName : apmplus_openapi Region : cn-beijing X-App-Ids : xxx Content-Type : application/json
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
aid | i32 | 否 |
| 应用ID。 |
crash_type | string | 否 |
| 崩溃类型。
|
start_time | i32 | 否 |
| 开始时间。 |
end_time | i32 | 否 |
| 终止时间。 |
biz_type | string | 否 |
| 异常类型。
|
filters | object of filters | 否 | - | 筛选条件。 |
issue_id | string | 否 |
| issue ID。 |
is_new | i32 | 否 |
| 是否新增issue。
|
token | string | 否 | - | 搜索关键字。 |
time_type | string | 否 | - | 时间类型。
|
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
type | string | 否 |
| 筛选条件类型。
|
op | string | 否 |
| 操作符。
|
dimension | string | 否 |
| 条件的名称。 |
values | array of string | 否 |
| 筛选值,支持多个。 |
value | string | 否 |
| 筛选值。 |
map_key | string | 否 |
| map类型key,当type为map时必填。 |
sub_conditions | array of sub_conditions | 否 | - | 子条件。 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
type | string | 否 |
| 筛选条件类型。
|
op | string | 否 |
| 操作符。
|
dimension | string | 否 |
| 条件的名称。 |
values | array of string | 否 |
| 筛选值,支持多个。 |
value | string | 否 |
| 筛选值。 |
map_key | string | 否 |
| map类型key,当type为map时必填。 |
sub_conditions | array of string | 否 | - | 子条件。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
data | object of data | - | 返回数据。 |
error_msg | string | - | 错误信息。 |
error_no | i32 |
| 错误码。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
crash_count | i32 |
| 崩溃次数。 |
crash_count_compare | double |
| 崩溃次数变化率。 |
crash_user | i32 |
| 崩溃人数。 |
crash_user_compare | double |
| 崩溃人数变化率。 |
crash_ratio | double |
| 崩溃率。 |
crash_ratio_compare | double |
| 崩溃率变化率。 |
crash_user_ratio | double |
| 崩溃用户率。 |
crash_user_ratio_compare | double |
| 崩溃用户比例变化率。 |
earliest_crash_time | i64 |
| 崩溃首次发生时间。 |
latest_crash_time | i64 |
| 崩溃最近发生时间。 |
latest_report_time | i64 |
| 崩溃最近上报时间。 |
event_id | string |
| 事件ID。 |
os | string |
| 操作系统。
|
stack | object of stack | - | 堆栈相关信息。 |
issue | object of issue | - | issue状态相关信息。 |
start_app_version | string | - | 开始版本。 |
end_app_version | string | - | 结束版本。 |
issue_id | string |
| issue ID。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
title | string |
| 堆栈标题。 |
brief | string | - | 堆栈的简要描述。 |
detail | string | - | 堆栈详情。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
id | i64 |
| issue在mysql里的ID,不同于issue_id。 |
managers | array of managers | - | 责任人。 |
status | string |
| issue状态。 |
tag | array of tag | - | 标签。 |
fixed_version | string | - | 修复版本号。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
name | string |
| 处理人名称。 |
user_id | i64 |
| 处理人ID。 |
POST https://open.volcengineapi.com/?Action=GetAppExceptionIssueDetail&Version=2022-10-12 { "issue_id":"7e753d***bb0267", "crash_type":"anr", "aid":123456, "biz_type":"crash", "start_time":1677772800, "end_time":1678443392, "filters":{ "type":"and", "sub_conditions":[ { "dimension":"os", "op":"in", "type":"expression", "values":[ "Android" ] } ] } }
{ "err_detail":"", "data":{ "status":"", "crash_count":21, "crash_count_compare":20, "crash_user":1, "crash_user_compare":0, "crash_ratio":0.00021714852959424247, "crash_ratio_compare":25.16552922198784, "crash_user_ratio":0.0004885197850512946, "crash_user_ratio_compare":0.3634587200781632, "earliest_crash_time":"1677809311", "latest_crash_time":"1677829093", "latest_report_time":"1677829112", "event_id":"bd607***9687", "os":"Android", "stack":{ "title":"com.example.crash.test.MonitorCrashActivity", "brief":"", "detail":"\"main\" prio=5 tid=1 Sleeping\n| group=\"main\" sCount=1 dsCount=0 flags=1 obj=0x70f50458 self=0xf165ce00\n| sysTid=18721 nice=-10 cgrp=default sched=0/0 handle=0xf1c1fdc0\n| state=S schedstat=( 1593032647 271433213 2620 ) utm=126 stm=31 core=5 HZ=100\n| stack=0xff5d4000-0xff5d6000 stackSize=8192KB\n| held mutexes=\nat java.lang.Thread.sleep(Thread.java)\n- sleeping on \u003c0x0c824559\u003e (a java.lang.Object)\nat java.lang.Thread.sleep(Thread.java:440)\n- locked \u003c0x0c824559\u003e (a java.lang.Object)\nat java.lang.Thread.sleep(Thread.java:356)\nat android.os.SystemClock.sleep(SystemClock.java:131)\nat com.example.crash.test.MonitorCrashActivity.onClick(MonitorCrashActivity.java:217)\nat java.lang.reflect.Method.invoke(Method.java)\nat android.view.View$DeclaredOnClickListener.onClick(View.java:6108)\nat android.view.View.performClick(View.java:7259)\nat android.view.View.performClickInternal(View.java:7236)\nat android.view.View.access$3600(View.java:801)\nat android.view.View$PerformClick.run(View.java:27892)\nat android.os.Handler.handleCallback(Handler.java:883)\nat android.os.Handler.dispatchMessage(Handler.java:100)\nat android.os.Looper.loop(Looper.java:214)\nat android.app.ActivityThread.main(ActivityThread.java:7356)\nat java.lang.reflect.Method.invoke(Method.java)\nat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)\nat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)" }, "issue":{ "id":"68**59", "managers":[ { "name":"admin-1", "user_id":"1" } ], "status":"processing", "tag":[ ], "fixed_version":"" }, "start_app_version":"", "end_app_version":"", "issue_id":"7e7538***b0267" }, "error_msg":"", "error_no":0 }
{ "ResponseMetadata": { "RequestId": "20180604***232280022D30", "Action": "GetAppExceptionIssueDetail", "Version": "2022-10-12", "Service": "***", "Region": "cn-north-1", "Error": { "Code": "200000", "Message": "参数异常" } } }