Application Performance Management Plus
Parameters | Type | Required | Sample value | Description |
Action | String | Yes | GetAppAlarmTrend | The API name. The current API name is GetAppAlarmTrend. |
Version | String | Yes | 2022-10-12 | The API version. The current API version is 2022-10-12. |
aid | Long | Yes | 123456 | Application ID. |
monitor_types | Array of String | No | ["crash"] | Monitoring type.
|
filters | No | - | The filter condition. You can specify multiple key‑value pairs to filter data. | |
start_time | Long | Yes | 1665417600 | Start time. |
end_time | Long | Yes | 1666417600 | The end time. |
granularity | Long | Yes | 1440 | The aggregation granularity. Unit: minutes. |
group_by_field | String | No | rule_id | The grouping field. An empty string is passed if no grouping is required. |
Parameters | Type | Required | Sample value | Description |
op | String | No | in | The operator.
|
type | String | No | expression | The type of the filter condition.
|
value | String | No | 123456 | The filter value. |
values | Array of String | No | [123456] | The filter value. Multiple filter values are supported. |
map_key | String | No | key_1 | The key of the map type. It is required when the type is set to map. |
dimension | String | No | aid | The name of the condition. |
sub_conditions | No | - | The sub-condition. |
Parameters | Type | Sample value | Description |
data | - | Alert trend. | |
error_msg | String | - | Error message. It is empty if the request succeeds. |
error_no | Long | 0 | Error code. If the request was successful, its value is 0. |
Parameters | Type | Sample value | Description |
name | String | "test | The name of the line. When grouped, the name needs to be set to the value of the grouping dimension. For example, it is used as the legend label for the curve. |
points | - | The data points on the curve. |
Parameters | Type | Sample value | Description |
value | Double | 0 | The metric value. |
timestamp | Long | 1653696000 | The time when the metric occurred (Unix timestamp). |
readable_timestamp | String | 2022-05-28 08:00:00 | The time when the metric occurred (natural time). |