メインコンテンツまでスキップ
に最終更新

PROC 表示アクション

リクエスト​

GET /api/show_proc

説明​

PROC 情報を取得します。

パスパラメータ​

なし

クエリパラメータ​

  • path

    PROC パスを指定します。

  • forward

    Master FE に転送して実行するかどうかを指定します。

リクエストボディ​

なし

レスポンス​

{
"msg": "success",
"code": 0,
"data": [
proc infos ...
],
"count": 0
}

例​

  1. /statistic の情報を表示する

    GET /api/show_proc?path=/statistic

    Response:
    {
    "msg": "success",
    "code": 0,
    "data": [
    ["10003", "default_cluster:db1", "2", "3", "3", "3", "3", "0", "0", "0"],
    ["10013", "default_cluster:doris_audit_db__", "1", "4", "4", "4", "4", "0", "0", "0"],
    ["Total", "2", "3", "7", "7", "7", "7", "0", "0", "0"]
    ],
    "count": 0
    }
  2. Master FE に転送して実行する

    GET /api/show_proc?path=/statistic&forward=true

    Response:
    {
    "msg": "success",
    "code": 0,
    "data": [
    ["10003", "default_cluster:db1", "2", "3", "3", "3", "3", "0", "0", "0"],
    ["10013", "default_cluster:doris_audit_db__", "1", "4", "4", "4", "4", "0", "0", "0"],
    ["Total", "2", "3", "7", "7", "7", "7", "0", "0", "0"]
    ],
    "count": 0
    }