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

Application Performance Management Plus

Copy page
Download PDF
Data explore
DataEvTypeCount
Copy page
Download PDF
DataEvTypeCount
Get overview values of reports for each type.​
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=DataEvTypeCount&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​
DataEvTypeCount​
The API name. The API name is DataEvTypeCount.​
Version​
String​
Yes​
2022-10-12​
The API version. The current API version is 2022-10-12.​
common​
Object of CommonParams​
No​
-​
Common parameters.​
time_filter​
Object of TimeFilter​
No​
-​
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 are eq, neq, lt, lte, gt, gte, in, not_in, regex, and 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=DataEvTypeCount&Version=2022-10-12​
{​
"time_filter": {​
"start_time": 1665485413,​
"end_time": 1665744613,​
"granularity": 3600​
},​
"common": {​
"aid": 12345,​
"site_type": "web",​
"env": "online",​
"os": "webpro",​
"user": "test_user"​
},​
"filter_conditions": {​
"type": "and",​
"field": "pid",​
"op": "in",​
"values": "[]",​
"children": [​
{​
"type": "and",​
"children": [],​
"op": "in",​
"field": "pid",​
"groupKey": "context",​
"values": "[data explore]"​
}​
],​
"groupKey": "context"​
}​
}
​
Response parameters​
​
Parameters​
Type​
Sample value​
Description​
data​
Array of EvTypeCountData​
-​
Overview values for each type.​
error_msg​
String​
-​
Error message. If the request was successful, this field is empty.​
error_no​
Integer​
0​
Error code. 0 indicates success.​
​
EvTypeCountData​
​
Parameters​
Type​
Sample value​
Description​
name​
String​
-​
The event name.​
count​
Long​
-​
Event count.​
ev_type​
String​
-​
Event type.​
​
Sample response​
​
{​
"data": [​
{​
"ev_type": "",​
"count": 986,​
"name": "league"​
}​
],​
"error_no": 29,​
"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:38:57