Application Performance Management Plus
Parameters | Type | Required | Sample value | Description |
Action | String | Yes | GetWebProNewErrorAlertTrend | The API name. The API name is GetWebProNewErrorAlertTrend. |
Version | String | Yes | 2022-10-12 | The API version. The current API version is 2022-10-12. |
time_filter | No | - | Time range. | |
id | Integer | No | 1 | Alert ID. |
common | Yes | - | Common parameters. |
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. |
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. |
Parameters | Type | Sample value | Description |
data | - | Response data. | |
error_msg | String | "" | Error message. An empty string "" indicates success. |
error_no | Integer | 0 | Error code. 0 indicates success. |
Parameters | Type | Sample value | Description |
alert_trend | - | Alert trend details. |
Parameters | Type | Sample value | Description |
fields | - | 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. |
Parameters | Type | Sample value | Description |
id | String | date | Dimension key. |
name | String | Date | Dimension name. |
dataType | String | string | Dimension type. |
aggregate | String | - | Aggregation method. |