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

Application Performance Management Plus

Copy page
Download PDF
Alert
MiniProAlarmTrend
Copy page
Download PDF
MiniProAlarmTrend
View the alert count trend chart (alert overview).​
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=MiniProAlarmTrend&Version=2024-03-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​
MiniProAlarmTrend​
The API name. The current API name is MiniProAlarmTrend.​
Version​
String​
Yes​
2024-03-12​
The API version. The current API version is 2024-03-12.​
common​
Object of Common​
Yes​
-​
Common parameters.​
time_filter​
Object of TimeFilter​
Yes​
-​
Time range.​
id​
Long​
No​
302​
Alert task ID.​
​
Common​
​
Parameters​
Type​
Required​
Sample value​
Description​
aid​
Long​
Yes​
12345​
Application ID.​
os​
String​
No​
minipro​
Service type. Supported values: app, webpro, minipro.​
​
TimeFilter​
​
Parameters​
Type​
Required​
Sample value​
Description​
start_time​
Integer​
Yes​
1665849600​
Start time.​
granularity​
Integer​
No​
60​
Aggregation time granularity.​
end_time​
Integer​
Yes​
1666011403​
The end time.​
​
Sample request​
​
POST https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=MiniProAlarmTrend&Version=2024-03-12​
{​
"common": {​
"aid": 12345,​
"os": "minipro"​
},​
"id": 302,​
"time_filter": {​
"start_time": 1665849600,​
"end_time": 1666011403,​
"granularity": 3600​
}​
}
​
Response parameters​
​
Parameters​
Type​
Sample value​
Description​
data​
Object of Data​
-​
Response data.​
error_msg​
String​
-​
Error message.​
error_no​
Integer​
0​
Error code. 0 indicates success.​
​
Data​
​
Parameters​
Type​
Sample value​
Description​
alarm_trend​
Object of AlarmTrend​
-​
Alert trend.​
​
AlarmTrend​
​
Parameters​
Type​
Sample value​
Description​
fields​
Array of Fields​
-​
Metric field.​
source​
Array of String​
[ "2022-10-11 08:00:00", "0" ]​
Value corresponding to the field value.​
​
Fields​
​
Parameters​
Type​
Sample value​
Description​
id​
String​
date​
Alert time. It is the value of source[i][0].​
dataType​
String​
string​
Data type.​
name​
String​
date​
Field name.​
​
Sample response​
​
{​
"err_detail":"",​
"data":{​
"alarm_trend":{​
"fields":[​
{​
"id":"date",​
"dataType":"string",​
"name":"date"​
},​
{​
"id":"alarm_count",​
"dataType":"number",​
"name":"alert count"​
}​
],​
"source":[​
[​
"2022-10-11 08:00:00",​
"0"​
],​
[​
"2022-10-17 08:00:00",​
"156"​
]​
]​
}​
},​
"error_msg":"",​
"error_no":0​
}
​
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.17 16:15:45