Show Proc Action

Request

GET /api/show_proc

Description

用于获取 PROC 信息。

Path parameters

无

Query parameters

  • path

指定的 Proc Path - forward

是否转发给 Master FE 执行

Request body

无

Response

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

Examples

  1. 查看 /statistic 信息

``` 1. GET /api/show_proc?path=/statistic

  1. Response:
  2. {
  3. "msg": "success",
  4. "code": 0,
  5. "data": [
  6. ["10003", "default_cluster:db1", "2", "3", "3", "3", "3", "0", "0", "0"],
  7. ["10013", "default_cluster:doris_audit_db__", "1", "4", "4", "4", "4", "0", "0", "0"],
  8. ["Total", "2", "3", "7", "7", "7", "7", "0", "0", "0"]
  9. ],
  10. "count": 0
  11. } ```
  12. 转发到 Master 执行

``` 1. GET /api/show_proc?path=/statistic&forward=true

  1. Response:
  2. {
  3. "msg": "success",
  4. "code": 0,
  5. "data": [
  6. ["10003", "default_cluster:db1", "2", "3", "3", "3", "3", "0", "0", "0"],
  7. ["10013", "default_cluster:doris_audit_db__", "1", "4", "4", "4", "4", "0", "0", "0"],
  8. ["Total", "2", "3", "7", "7", "7", "7", "0", "0", "0"]
  9. ],
  10. "count": 0
  11. } ```