Show Proc Action

Request

GET /api/show_proc

Description

Used to obtain PROC information.

Path parameters

None

Query parameters

  • path

    Specify Proc Path

  • forward

    Whether to forward to Master FE for execution

Request body

None

Response

  1. {
  2. "msg": "success",
  3. "code": 0,
  4. "data": [
  5. proc infos ...
  6. ],
  7. "count": 0
  8. }

Examples

  1. View /statistic information

    1. GET /api/show_proc?path=/statistic
    2. Response:
    3. {
    4. "msg": "success",
    5. "code": 0,
    6. "data": [
    7. ["10003", "default_cluster:db1", "2", "3", "3", "3", "3", "0", "0", "0"],
    8. ["10013", "default_cluster:doris_audit_db__", "1", "4", "4", "4", "4", "0", "0", "0"],
    9. ["Total", "2", "3", "7", "7", "7", "7", "0", "0", "0"]
    10. ],
    11. "count": 0
    12. }
  2. Forward to Master for execution

    1. GET /api/show_proc?path=/statistic&forward=true
    2. Response:
    3. {
    4. "msg": "success",
    5. "code": 0,
    6. "data": [
    7. ["10003", "default_cluster:db1", "2", "3", "3", "3", "3", "0", "0", "0"],
    8. ["10013", "default_cluster:doris_audit_db__", "1", "4", "4", "4", "4", "0", "0", "0"],
    9. ["Total", "2", "3", "7", "7", "7", "7", "0", "0", "0"]
    10. ],
    11. "count": 0
    12. }