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

Application Performance Management Plus

Copy page
Download PDF
Resources monitor
ResourceOverviewErrTrend
Copy page
Download PDF
ResourceOverviewErrTrend
Get the static resource error trend.​
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=ResourceOverviewErrTrend&Version=2022-10-12​
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​
ResourceOverviewErrTrend​
The API name. The current API name is ResourceOverviewErrTrend.​
Version​
String​
Yes​
2022-10-12​
The API version. The current API version is 2022-10-12.​
common​
Object of CommonParams​
Yes​
-​
Common parameter.​
time_filter​
Object of TimeFilter​
Yes​
-​
Time range.​
filter_conditions​
Object of FilterCondition​
No​
-​
The filter condition.​
​
CommonParams​
​
Parameters​
Type​
Required​
Sample value​
Description​
aid​
Long​
Yes​
12345​
Application ID.​
site_type​
String​
Yes​
web​
site type.​
env​
String​
Yes​
online​
Environment. An empty string "" indicates all.​
os​
String​
No​
webpro​
Service type. Available values are webpro, app, and minipro.​
user​
String​
No​
test_user​
Username.​
​
TimeFilter​
​
Parameters​
Type​
Required​
Sample value​
Description​
start_time​
Integer​
Yes​
1665485413​
Start time, in seconds.​
end_time​
Integer​
Yes​
1665744613​
End time, in seconds.​
granularity​
Integer​
No​
3600​
Aggregation time granularity, in seconds.​
​
FilterCondition​
​
Parameters​
Type​
Required​
Sample value​
Description​
type​
String​
Yes​
and​
Filter condition type. Available values are and and rule. Only two levels are supported. The first level type must be "and", and the second level type must be "rule".​
field​
String​
No​
pid​
Condition field key. Available values can be obtained via the GetFieldKeys API.​
op​
String​
No​
in​
Condition operator. Available values: eq, neq, lt, lte, gt, gte, in, not_in, regex, not_regex.​
groupKey​
String​
No​
context​
Map type field key. Available values can be obtained via the GetFieldKeys API.​
values​
Array of String​
No​
[Data explore]​
Criterion values. Available values can be obtained via the GetFieldValues API.​
children​
Array of FilterCondition​
No​
-​
If there are conditions at the next level, put them here. This parameter is required when type is and. This level cannot coexist with field, op, groupkey, and values.​
​
Sample request​
​
POST https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=ResourceOverviewErrTrend&Version=2022-10-12​
{​
"common": {​
"aid": 12345,​
"site_type": "web",​
"env": "online",​
"user": "test_user",​
"os": "webpro"​
},​
"time_filter": {​
"start_time": 1665485413,​
"end_time": 1665744613,​
"granularity": 3600​
},​
"filter_conditions": {​
"type": "and",​
"children": [​
{​
"type": "and",​
"field": "pid",​
"children": [],​
"groupKey": "context",​
"op": "in",​
"values": "[blank screen count]"​
}​
],​
"field": "pid",​
"values": "[blank screen count]",​
"op": "in",​
"groupKey": "context"​
}​
}
​
Response parameters​
​
Parameters​
Type​
Sample value​
Description​
data​
-​
Overall trend.​
error_no​
Integer​
0​
Error code. 0 indicates success.​
error_msg​
String​
-​
Error message. Empty indicates success.​
​
OverviewTrendResponseData​
​
Parameters​
Type​
Sample value​
Description​
info​
-​
Custom event overview value.​
chart​
Object of ChartData​
-​
Custom event reporting trend.​
extra​
Object of TrendExtra​
-​
Custom event extra information.​
​
OverviewTrendInfoItem​
​
Parameters​
Type​
Sample value​
Description​
id​
String​
count​
Aggregate value key.​
name​
String​
Blank screen count​
Aggregated value name.​
unit​
String​
ms​
Aggregation unit.​
count​
String​
1​
Aggregated value.​
change​
String​
1.0​
Period-over-period.​
​
ChartData​
​
Parameters​
Type​
Sample value​
Description​
fields​
Array of Field​
-​
Line chart/pie chart dimensions. len(fields)=len(source[i]).​
source​
Array of String​
[["1668355200","js_error","0","0"]]​
The set of specific points in the trend chart. len(source) is the number of points in the line chart or the number of blocks in the pie chart.​
​
TrendExtra​
​
Parameters​
Type​
Sample value​
Description​
release_info​
Array of ReleaseInfo​
-​
Release status.​
​
Field​
​
Parameters​
Type​
Sample value​
Description​
id​
String​
date​
Dimension key.​
name​
String​
Date​
Dimension name.​
dataType​
String​
string​
Dimension type.​
aggregate​
String​
-​
Aggregation method.​
​
ReleaseInfo​
​
Parameters​
Type​
Sample value​
Description​
env​
String​
test​
Release environment.​
commit​
String​
[]​
Version-related commit.​
release​
String​
v2.2.123​
Version.​
create_at​
Integer​
1668483578​
Release date.​
​
Sample response​
​
{​
"error_no": 0,​
"data": {​
"chart": {​
"fields": [​
{​
"aggregate": "",​
"dataType": "string",​
"name": "date",​
"id": "date"​
}​
],​
"source": [​
[​
"1668355200",​
"js_error",​
"0",​
"0"​
]​
]​
},​
"extra": {​
"release_info": [​
{​
"env": "test",​
"create_at": 1668483578,​
"release": "v2.2.123",​
"commit": ""​
}​
]​
},​
"info": [​
{​
"name": "blank screen count",​
"change": "1",​
"unit": "ms",​
"id": "count",​
"count": "1"​
}​
]​
},​
"error_msg": ""​
}
​
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.21 10:39:03