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

应用性能监控全链路版

复制全文
下载 pdf
崩溃
PCCrashTopAnalysis
复制全文
下载 pdf
PCCrashTopAnalysis
查看崩溃指标在多维分析后的分布情况。​
请求说明​
客户端监控已在全球多个地域部署服务,旨在为您提供更稳定、低延迟的访问体验。您可以通过查阅 服务地址 文档,根据业务所在地选择最合适的接入点。​
  • 请求方式:POST​
  • 请求地址:https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=PCCrashTopAnalysis&Version=2022-10-28​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数,更多详细信息参见 公共参数 。​
​
参数​
类型​
是否必选​
示例值​
描述​
Action​
String​
是​
PCCrashTopAnalysis​
接口名称。当前 API 的名称为 PCCrashTopAnalysis。​
Version​
String​
是​
2022-10-28​
接口版本。当前 API 的版本为 2022-10-28。​
app_id​
Integer​
是​
12345​
App ID。​
error_field​
String​
是​
user​
统计字段。​
  • user:用户数​
  • count:总数​
top_analysis_fields​
Array of String​
是​
["os", "cpu"]​
维度字段。​
start_time​
Integer​
是​
1656288235​
开始时间。​
end_time​
Integer​
是​
1656288235​
结束时间。​
filters​
Object of Condition​
否​
-​
过滤条件。​
issue_ids​
Array of String​
否​
["bf1b6a03a99"]​
分析崩溃ID。​
region​
String​
否​
cn​
区域,默认cn。​
crash_time_type​
String​
否​
server_time​
时间类型。​
  • server_time:服务端时间​
  • client_time:客户端时间​
is_first_issue​
Boolean​
否​
false​
是否为新发现的issue。​
issue_levels​
Array of Integer​
否​
[]​
过滤issue等级。​
search_type​
Integer​
否​
1​
堆栈过滤方式。​
  • 0:字符串​
  • 1:正则​
search_text​
String​
否​
stack info​
堆栈过滤字段。​
tag_op​
String​
否​
not_in​
tag 过滤方式。​
  • not_in:不包含​
  • in:包含​
issue_tags​
Array of TagAndGroupId​
否​
-​
tag列表。​
top_analysis_context_fields​
Array of String​
否​
["contxt_key1"]​
分析context中的字段列表。​
lang​
String​
否​
zh​
国际化语言类型。​
crash_type​
String​
否​
""​
崩溃类型,pc_jank或者空。​
​
Condition​
​
参数​
类型​
是否必选​
示例值​
描述​
op​
String​
否​
in​
查找类型。​
  • in​
  • >​
  • <​
type​
String​
否​
and​
条件类型。​
  • and​
  • or​
values​
Array of String​
否​
["1", "2"]​
维度值​
dimension​
String​
否​
dim1​
过滤维度。​
sub_conditions​
Array of Condition​
否​
[ { "dimension": "parse_success", "op": "in", "values": [ "1" ], "groupKey": "dimension" } ]​
具体条件。​
​
TagAndGroupId​
​
参数​
类型​
是否必选​
示例值​
描述​
tag_id​
Integer​
否​
1​
标签ID。​
group_id​
Integer​
否​
1​
标签组ID。​
​
请求示例​
​
POST https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=PCCrashTopAnalysis&Version=2022-10-28​
{​
"app_id": 12345,​
"error_field": "user",​
"top_analysis_fields": [​
"os",​
"cpu"​
],​
"start_time": 1656288235,​
"end_time": 1656288235,​
"lang": "zh",​
"search_type": 1,​
"top_analysis_context_fields": [​
"contxt_key1"​
],​
"tag_op": "not_in",​
"search_text": "stack info",​
"issue_tags": [​
{​
"group_id": 1,​
"tag_id": 1​
}​
],​
"issue_levels": [],​
"is_first_issue": true,​
"region": "cn",​
"filters": {​
"values": [​
"1",​
"2"​
],​
"op": "in",​
"sub_conditions": [​
{​
"dimension": "parse_success",​
"op": "in",​
"values": [​
"1"​
],​
"groupKey": "dimension"​
}​
],​
"type": "and",​
"dimension": "dim1"​
},​
"issue_ids": [​
"bf1b6a03a99"​
],​
"crash_type": "",​
"crash_time_type": "server_time"​
}
​
返回参数​
​
参数​
类型​
示例值​
描述​
data​
Object of TopAnalysisResp​
-​
返回内容。​
errmsg​
String​
""​
错误信息,成功为空。​
errno​
Integer​
200​
错误码,成功为200。​
​
TopAnalysisResp​
​
参数​
类型​
示例值​
描述​
source​
-​
分析结果。​
​
TopAnalysisRespDetail​
​
参数​
类型​
示例值​
描述​
data​
Array of FieldDetail​
-​
维度值列表。​
label​
String​
系统​
维度名。​
​
FieldDetail​
​
参数​
类型​
示例值​
描述​
count​
Integer​
1​
统计值。​
dimension_field​
String​
windows​
维度值。​
​
返回示例​
​
{​
"errmsg": "",​
"errno": 200,​
"data": {​
"source": [​
{​
"data": [​
{​
"dimension_field": "windows",​
"count": 1​
}​
],​
"label": "system"​
}​
]​
}​
}
​
错误码​
当前接口暂无独立错误码,若接口调用返回异常,可参考 公共错误码 进行故障排查。​
最近更新时间:2026.08.28 16:24:39
这个页面对您有帮助吗?
有用
有用
无用
无用