Application Performance Management Plus
Parameters | Type | Required | Sample value | Description |
Parameters | Type | Required | Sample value | Description |
Action | String | Yes | GetAlarmDistribution | The API name. The current API name is GetAlarmDistribution. |
Version | String | Yes | 2022-10-12 | The API version. The current API version is 2022-10-12. |
common | No | - | Common parameter. | |
time_filter | No | - | Time range. | |
name_list | Array of String | No | 111 | Alert task name list. Returns alert history for all names when left empty. Call the GetAlarmRuleList API to view available values. |
level_list | Array of String | No | warning | Alert level list. Returns all alert types when left empty.
|
category_list | Array of String | No | pageview | Alert type. If this parameter is not specified, the history alerts of all types are returned. Call the GetAlarmMeta API to view values. |
Parameters | Type | Required | Sample value | Description |
Parameters | Type | Required | Sample value | Description |
aid | Long | No | 12345 | Application ID. |
os | String | No | webpro | Service type. |
Parameters | Type | Required | Sample value | Description |
Parameters | Type | Required | Sample value | Description |
start_time | Integer | No | 1665849600 | Start time. |
granularity | Integer | No | 60 | Aggregation time granularity. Unit: s. |
end_time | Integer | No | 1666011403 | The end time. |
Parameters | Type | Sample value | Description |
Parameters | Type | Sample value | Description |
data | - | Returned 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 |
Parameters | Type | Sample value | Description |
category | String | pageview | Alert task type. |
count | Long | 1407 | Alert count for this type. |
percent | Double | 1 | Proportion of alerts of this type in the total alerts. |