Application Performance Management Plus
Parameters | Type | Required | Sample value | Description |
Parameters | Type | Required | Sample value | Description |
Action | String | Yes | ReqSlowList | The API name. The current API name is ReqSlowList. |
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. | |
slow_duration | Long | Yes | 2,000 | Slow request threshold, in milliseconds. |
order_by | String | No | slow_rate | The sorting method. Supports sorting by slow_rate, slow_value, count, avg, pct25, pct50, pct70, pct90, and pct99. |
type | String | No | avg | Request latency aggregation method. Supports aggregation by avg, pct25, pct50, pct70, pct90, pct95, and pct99. |
Parameters | Type | Required | Sample value | Description |
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 |
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 |
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 operator. 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 |
Parameters | Type | Sample value | Description |
data | - | Top 10 slow requests. | |
error_msg | String | - | Error message. Empty indicates success. |
error_no | Integer | 0 | Error code. 0 indicates success. |
Parameters | Type | Sample value | Description |
Parameters | Type | Sample value | Description |
path | String | path_test | Request path. |
domain | String | www.test.com | Request domain. |
duration | Long | 1200 | Request latency, in milliseconds. |
slow_rate | String | 0.12 | Slow request rate. |
user_rate | String | 0.12 | Rate of users affected by slow requests. |
rate_trend | - | Slow request rate trend. | |
user_trend | - | Trend in the rate of users affected by slow requests. | |
duration_trend | - | Request latency trend. |
Parameters | Type | Sample value | Description |
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 |
Parameters | Type | Sample value | Description |
id | String | date | Dimension key. |
name | String | Date | Dimension name. |
dataType | String | string | Dimension type. |
aggregate | String | - | Aggregation method. |