Application Performance Management Plus
Parameters | Type | Required | Sample value | Description |
Parameters | Type | Required | Sample value | Description |
Action | String | Yes | GetAppStartupMultiTrend | The API name. The API name is GetAppStartupMultiTrend. |
Version | String | Yes | 2022-10-12 | The API version. The current API version is 2022-10-12. |
start_time | Integer | No | 1665417600 | Start time. |
end_time | Integer | No | 1665504000 | The end time. |
filters | No | - | The filter condition. You can specify multiple key‑value pairs to filter data. launch_mode: The application startup mode:
The operating system:
| |
granularity | Integer | No | 5 | The aggregation granularity. Unit: minutes. |
group_by_field | String | No | os | The grouping field. An empty string is passed if no grouping is required. |
metrics | Array of String | No | startup_count | The metric list.
|
Parameters | Type | Required | Sample value | Description |
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 |
Parameters | Type | Sample value | Description |
data | JSON Map | - | The returned error data. The key is the metric name. For a request without metric grouping, the list contains only one element. When grouping is applied, the list contains multiple elements, and each element represents one line in the trend chart. |
error_msg | String | - | Error message. |
error_no | Integer | 0 | Error code. |
Parameters | Type | Sample value | Description |
Parameters | Type | Sample value | Description |
key | String | | |
value | | |
Parameters | Type | Sample value | Description |
Parameters | Type | Sample value | Description |
name | String | test123 | 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. | |
total | Double | | The total count. |
Parameters | Type | Sample value | Description |
Parameters | Type | Sample value | Description |
alert | - | The alert message. | |
value | Double | 123 | The metric value. |
timestamp | Long | 1665417600 | The time when the metric occurred (Unix timestamp). |
readable_timestamp | String | 2022-10-11 | The time when the metric occurred (natural time). |
Parameters | Type | Sample value | Description |
Parameters | Type | Sample value | Description |
msg | String | No error | The alert message. |
alert | Boolean | true | Whether an alert is required. |