You need to enable JavaScript to run this app.
文档中心
应用性能监控全链路版

应用性能监控全链路版

复制全文
下载 pdf
CPU 监控
GetAppExceptionalCPUIssueDetail
复制全文
下载 pdf
GetAppExceptionalCPUIssueDetail
获取CPU问题详情。
请求说明
应用性能监控全链路版客户端监控已在全球多个地域部署服务,旨在为您提供更稳定、低延迟的访问体验。您可以通过查阅 服务地址 文档,根据业务所在地选择最合适的接入点。
  • 请求方式:POST
  • 请求地址:https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=GetAppExceptionalCPUIssueDetail&Version=2022-10-12
请求参数
下方仅列出该接口特有的请求参数和部分公共参数,更多详细信息参见 公共参数
参数
类型
是否必选
示例值
描述
Action
String
GetAppExceptionalCPUIssueDetail
接口名称。当前 API 的名称为 GetAppExceptionalCPUIssueDetail
Version
String
2022-10-12
接口版本。当前 API 的版本为 2022-10-12
aid
Integer
123456
应用的唯一标识符。
os
String
Android
操作系统。
  • Android:安卓
  • iOS:iOS
start_time
Integer
1665417600
查询开始时间(Unix时间戳)。
end_time
Integer
1665504000
查询结束时间(Unix时间戳)。
filters
Object of Condition
-
筛选条件,可以指定多个键值对来筛选数据。
issue_id
String
issue_12345
issue标识符。
Condition
参数
类型
是否必选
示例值
描述
op
String
in
操作符。
  • gt:大于
  • gte:大于等于
  • lt:小于
  • lte:小于等于
  • eq:等于
  • neq:不等于
  • in:包含
  • not_in:不包含
  • lk:模糊匹配特定模式的数据
  • nlk:排除模糊匹配的数据
type
String
expression
筛选条件类型。
  • expression:当前condition是一个表达式。
  • and:当前condition是一个复合表达式,多个sub_condition的逻辑关系是and。
  • or:当前condition是一个复合表达式,多个sub_condition的逻辑关系是or。
  • map:当前condition是map类型。
value
String
123456
筛选值。
values
Array of String
[123456]
筛选值,支持多个。
map_key
String
key_1
map类型key,当type为map时必填。
dimension
String
aid
条件的名称。
sub_conditions
Array of Condition
-
子条件。
请求示例
POST https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=GetAppExceptionalCPUIssueDetail&Version=2022-10-12
{
"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
-
返回数据。
error_msg
String
-
错误信息。
error_no
Integer
0
错误码。
IssueDetailResponseData
参数
类型
示例值
描述
os
String
android
操作系统。
  • Android:安卓
  • iOS:iOS
issue
Object of IssueInfo
-
issue状态相关信息。
stack
Object of ParsedStack
-
堆栈相关信息。
event_id
String
event_54321
事件ID。
issue_id
String
issue_98765
issue ID。
crash_user
Integer
17
崩溃人数。
crash_count
Integer
42
崩溃次数。
crash_ratio
Double
0.002
崩溃率。
cpu_exception
Object of CPUException
-
CPU异常信息,包含关于CPU异常的详细数据。
end_app_version
String
1.0.3
结束版本。
crash_user_ratio
Double
0.001
崩溃用户率。
latest_crash_time
Long
1622140800
崩溃最近发生时间。
start_app_version
String
1.0.0
开始版本。
crash_user_compare
Double
-0.05
崩溃人数变化率。
latest_report_time
Long
1622227200
崩溃最近上报时间。
crash_count_compare
Double
0.1
崩溃次数变化率。
earliest_crash_time
Long
1619539200
崩溃首次发生时间。
IssueInfo
参数
类型
示例值
描述
id
Long
1112121
issue在mysql里的ID,不同于issue_id。
tag
Array of Tags
-
标签。
status
String
processing
issue状态。
  • pending:未修复
  • processing:修复中
  • ignored:已忽略
  • solved:已修复
  • reopen:重复出现
fixed_version
String
v1.1.2
修复版本号。
ParsedStack
参数
类型
示例值
描述
brief
String
Crash due to null object reference
堆栈的简要描述。
title
String
NullPointerException
堆栈标题。
detail
String
at com.example.myapp.MainActivity.onCreate
堆栈详情。
error_msg
String
retrace error
retrace 符号表相关错误,提示用户
unexist_libs
JSON Map
缺失符号表信息,key: 组件名,value: UUID
CPUException
参数
类型
示例值
描述
average_speed
Double
50.0
Android平均进程使用速率。
average_usage
Double
25.0
iOS平均进程使用率。
count_per_user
Double
1.5
单次启动上报次数。
average_speed_compare
Double
0.1
Android平均进程使用速率变化率。
average_usage_compare
Double
-0.5
iOS平均进程使用率变化率。
count_per_user_compare
Double
0.2
单次启动上报次数变化率。
Tags
参数
类型
示例值
描述
id
Long
301
tag ID。
key
String
component
tag key。
values
Array of ValueId
[{"id": 202, "value": "backend"}, {"id": 203, "value": "frontend"}]
tag value。
ValueId
参数
类型
示例值
描述
id
Long
201
tag valueID。
value
String
production
tag value。
返回示例
{
"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
}
错误码
当前接口暂无独立错误码,若接口调用返回异常,可参考 公共错误码 进行故障排查。
最近更新时间:2026.02.10 19:56:27
这个页面对您有帮助吗?
有用
有用
无用
无用