Application Performance Management Plus
Parameters | Type | Required | Sample value | Description |
Action | String | Yes | DataTrend | The API name. The current API name is DataTrend. |
Version | String | Yes | 2022-10-12 | The API version. The current API version is 2022-10-12. |
common | Yes | - | Common parameter. | |
time_filter | Yes | - | Time range. | |
filter_conditions | No | - | The filter condition. | |
ev_type | String | Yes | session | Report type.
|
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 | 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 |
type | String | Yes | and | Filter condition type. Available values are and and rule. Only two levels are supported. The first level type must be "and", and the second level type must be "rule". |
field | String | No | pid | Condition field key. Available values can be obtained via the GetFieldKeys API. |
op | String | No | in | Condition operators. Available values: eq, neq, lt, lte, gt, gte, in, not_in, regex, not_regex. |
groupKey | String | No | context | Map type field key. Available values can be obtained via the GetFieldKeys API. |
values | Array of String | No | [Data explore] | Criterion values. Available values can be obtained via the GetFieldValues API. |
children | No | - | If there are conditions at the next level, put them here. This parameter is required when type is and. This level cannot coexist with field, op, groupkey, and values. |
Parameters | Type | Sample value | Description |
data | - | Report trend for a specific type. | |
error_msg | String | - | Error message. Empty indicates success. |
error_no | Integer | 0 | Error code. 0 indicates success. |
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. |