Query Detail Action
Description
Used to obtain information about all queries after a specified time point
Query parameters
event_time
无
Response
-
GET /api/query_detail?event_time=1596462079958
Response:
"msg": "success",
"code": 0,
"data": {
"query_details": [{
"queryId": "f732084bc8e74f39-8313581c9c3c0b58",
"startTime": 1596462698969,
"endTime": 1596462699216,
"latency": 247,
"state": "FINISHED",
"database": "db1",
"sql": "select * from tbl1"
"eventTime": 1596463013929,
"startTime": 1596463013913,
"endTime": 1596463013929,
"latency": 16,
"state": "FINISHED",
"database": "db1",
"sql": "select k1 from tbl1"
}]
},
"count": 0