Operation
Query Operation List
Method: GET
http://${domain}/browser-api/opera/operaSqeList
Request Parameters
Field | Type | Required | Description | Remarks |
---|---|---|---|---|
browserApplicationId | Int | Yes | Application ID | Example: 1 |
focusType | Int | Yes | Whether it's a critical operation | 1 for critical operations only, 0 to query all |
dimensions | String | Yes | Display host, URL, parameters | Example: oprtName |
timePeriod | String | Yes | Query time range | Unit: minutes, e.g., 60 |
endTime | String | Yes | Query end time | Format: "2020-07-23 17:18" |
countTotal | Int | No | PV range | Example: 10<countTotal<1000 |
limit | int | No | Number of records to return | Default: 10000, Recommended: 1000 |
Response Parameters
Field | Type |
---|---|
operationAjaxError | String |
operationCount | Number |
oprtName | String |
operationAvailability | String |
uvTotal | Number |
operationAjaxTime | Number |
operationAjaxTotal | Number |
operationTime | Number |
Request Example
{
"timePeriod":43200,
"endTime":"2023-02-22 18:17",
"datasource":"BN_OPRT",
"dimensions":[
"oprtName"
],
"filters":[
{
"name":"browserApplicationId",
"value":[
1225
],
"operator":"IN"
},
{
"name":"focusType",
"value":[
0
],
"operator":"IN"
}
],
"metrics":[
"focusOprt",
"oprtName",
"operationCount",
"uvTotal",
"operationTime",
"operationAvailability",
"operationAjaxTime",
"operationAjaxTotal",
"operationAjaxError"
],
"orderByExprs":"operationCount desc",
"render":"list",
"limit":1000
}
Response Example
{
"operationAjaxError":"100",//ajax error rate
"operationCount":4,//operation count
"oprtName":"yuanjie Test Projection Time 1", //operation name
"operationAvailability":"100",//operation availability
"uvTotal":1,//uv
"operationAjaxTime":642,//operation request time
"operationAjaxTotal":8,//ajax request count
"operationTime":650//operation time
}