QUERY DETAIL
从FE获取所有的查询细节,获取关于查询执行的相关信息。 FE会返回在event_time之后的查询细节,其中event_time单位会精确到毫秒。
curl -X GET http://fe_host:fe_http_port/api/query_detail?event_time=1592054515284
查询信息会以JSON格式返回。
[
{
"eventTime": 1592201405063,
"queryId": "a0a9259df9844029-845331577440a3bd",
"startTime": 1592201405055,
"endTime": 1592201405063,
"latency": 8,
"state": "FINISHED",
"database": "test",
"sql": "select * from table1"
},
{
"eventTime": 1592201420842,
"queryId": "21cd79c3e1634e8a-bdac090c7e7bcc36",
"startTime": 1592201420834,
"endTime": 1592201420842,
"latency": 8,
"state": "FINISHED",
"database": "test",
"sql": "select * from table1"
}
]