You need to enable JavaScript to run this app.
Application Performance Management Plus

Application Performance Management Plus

Copy page
Download PDF
Crashes
PCCrashTopAnalysis
Copy page
Download PDF
PCCrashTopAnalysis
Query the distribution of crash metrics after multidimensional analysis.​
Request description​
RUM is deployed across multiple regions worldwide to provide more stable and low-latency access. You can refer to the Service addresses topic to choose the most suitable access point based on your business location.​
  • Request method: POST​
  • Request URL: https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=PCCrashTopAnalysis&Version=2022-10-28​
Request parameters​
The following table lists only the request parameters specific to this API and some public parameters. For details, see Public parameters.​
​
Parameters​
Type​
Required​
Sample value​
Description​
Action​
String​
Yes​
PCCrashTopAnalysis​
The API name. The API name is PCCrashTopAnalysis.​
Version​
String​
Yes​
2022-10-28​
The API version. The current API version is 2022-10-28.​
app_id​
Integer​
Yes​
12345​
App ID.​
error_field​
String​
Yes​
user​
Statistical field.​
  • user: User count​
  • count: Total count​
top_analysis_fields​
Array of String​
Yes​
["os", "cpu"]​
Dimension field.​
start_time​
Integer​
Yes​
1656288235​
Start time.​
end_time​
Integer​
Yes​
1656288235​
End time.​
filters​
Object of Condition​
No​
-​
Filtering condition.​
issue_ids​
Array of String​
No​
["bf1b6a03a99"]​
Crash IDs for analysis.​
region​
String​
No​
cn​
Region code. The default is cn.​
crash_time_type​
String​
No​
server_time​
The time type.​
  • server_time: Server time​
  • client_time: Client time​
is_first_issue​
Boolean​
No​
false​
Whether the issue is newly discovered.​
issue_levels​
Array of Integer​
No​
[]​
Issue levels used for filtering.​
search_type​
Integer​
No​
1​
Stack trace filtering method.​
  • 0: String​
  • 1: Regex​
search_text​
String​
No​
stack info​
Stack trace filtering field.​
tag_op​
String​
No​
not_in​
Tag filtering method.​
  • not_in: does not contain​
  • in: contains​
issue_tags​
Array of TagAndGroupId​
No​
-​
Tag list.​
top_analysis_context_fields​
Array of String​
No​
["contxt_key1"]​
List of fields in the context for analysis.​
lang​
String​
No​
zh​
Language code for internationalization.​
crash_type​
String​
No​
""​
Crash type. The value is pc_jank or empty.​
​
Condition​
​
Parameters​
Type​
Required​
Sample value​
Description​
op​
String​
No​
in​
Search type.​
  • in​
  • >​
  • <​
type​
String​
No​
and​
Condition type.​
  • and​
  • or​
values​
Array of String​
No​
["1", "2"]​
Dimension value​
dimension​
String​
No​
dim1​
Filtering dimension.​
sub_conditions​
Array of Condition​
No​
[ { "dimension": "parse_success", "op": "in", "values": [ "1" ], "groupKey": "dimension" } ]​
Conditions.​
​
TagAndGroupId​
​
Parameters​
Type​
Required​
Sample value​
Description​
tag_id​
Integer​
No​
1​
Tag ID.​
group_id​
Integer​
No​
1​
Tag group ID.​
​
Sample request​
​
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"​
}
​
Response parameters​
​
Parameters​
Type​
Sample value​
Description​
data​
Object of TopAnalysisResp​
-​
Response data.​
errmsg​
String​
""​
Error message. If the request was successful, this field is empty.​
errno​
Integer​
200​
Error code. If the request was successful, this field is 200.​
​
TopAnalysisResp​
​
Parameters​
Type​
Sample value​
Description​
source​
-​
Analysis result.​
​
TopAnalysisRespDetail​
​
Parameters​
Type​
Sample value​
Description​
data​
Array of FieldDetail​
-​
List of dimension values.​
label​
String​
System​
Dimension name.​
​
FieldDetail​
​
Parameters​
Type​
Sample value​
Description​
count​
Integer​
1​
Statistical value.​
dimension_field​
String​
windows​
Dimension value.​
​
Sample response​
​
{​
"errmsg": "",​
"errno": 200,​
"data": {​
"source": [​
{​
"data": [​
{​
"dimension_field": "windows",​
"count": 1​
}​
],​
"label": "system"​
}​
]​
}​
}
​
Error codes​
No error codes are specific to this API. If the API call returns an error code, refer to Public error codes for troubleshooting.​
Last updated: 2026.09.20 10:54:05