metrics信息
Request
GET /metrics?type={enum}&with_tablet={bool}
Description
prometheus监控采集接口
Query parameters
-
type输出方式,选填,默认全部输出,另有以下取值: -
core: 只输出核心采集项 json: 以json格式输出with_tablet是否输出tablet相关的采集项,选填,默认false。
Request body
无
Response
1. ```
2. doris_be__max_network_receive_bytes_rate LONG 60757
3. doris_be__max_network_send_bytes_rate LONG 16232
4. doris_be_process_thread_num LONG 1120
5. doris_be_process_fd_num_used LONG 336
6. ,,,
8. ```
Examples
1. ```
2. curl "http://127.0.0.1:8040/metrics?type=json&with_tablet=true"
3. ```
