跳到主要内容
跳到主要内容

metrics 信息

Request

GET /metrics?type={enum}&with_tablet={bool}

Description

prometheus 监控采集接口

Query parameters

  • type 输出方式,选填,默认全部输出,另有以下取值:

    • core: 只输出核心采集项
    • json: 以 json 格式输出
  • with_tablet 是否输出 tablet 相关的采集项,选填,默认false

Request body

Response

```json
doris_be__max_network_receive_bytes_rate LONG 60757
doris_be__max_network_send_bytes_rate LONG 16232
doris_be_process_thread_num LONG 1120
doris_be_process_fd_num_used LONG 336
,,,

```

Examples

```bash
curl "http://127.0.0.1:8040/metrics?type=json&with_tablet=true"
```