Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 662 Bytes

monitor.md

File metadata and controls

37 lines (26 loc) · 662 Bytes

监控指标

BFE内置丰富的监控指标,支持多种格式,可以通过BFE实例的监控接口获得。

配置

在BFE的核心配置文件(conf/bfe.conf)中,设置监控端口:

[server]
monitorPort = 8421

获取指标类别列表

访问如下地址,以获取监控项列表:

http://<addr>:8421/monitor

获取指标详情

http://<addr>:8421/monitor/<category>

输出格式

当前支持监控数据格式如下

使用format参数指定输出的格式, 示例:

http://<addr>:<port>/monitor/proxy_state?format=prometheus