Query Detail Action

    Description

    Used to obtain information about all queries after a specified time point

    Query parameters

    • event_time

    Response

      1. GET /api/query_detail?event_time=1596462079958
      2. Response:
      3. "msg": "success",
      4. "code": 0,
      5. "data": {
      6. "query_details": [{
      7. "queryId": "f732084bc8e74f39-8313581c9c3c0b58",
      8. "startTime": 1596462698969,
      9. "endTime": 1596462699216,
      10. "latency": 247,
      11. "state": "FINISHED",
      12. "database": "db1",
      13. "sql": "select * from tbl1"
      14. "eventTime": 1596463013929,
      15. "startTime": 1596463013913,
      16. "endTime": 1596463013929,
      17. "latency": 16,
      18. "state": "FINISHED",
      19. "database": "db1",
      20. "sql": "select k1 from tbl1"
      21. }]
      22. },
      23. "count": 0