BlueKing 蓝鲸监控 组件监控 自定义组件 consul采集器 Demo
以下内容基于蓝鲸监控1.4.62实践
-
download the consul_exporter-0.3.0.linux-amd64.tar.gz
-
run the exporter and get metrics
./consul_exporter
curl http://localhost:9107/metrics
- configurate the file
├── config_schema.json
├── description.md
├── exporter.zip // step 4
├── info.json
├── logo.png
└── metrics.json
4.rename exporter and ZIP
mv consul_exporter exporter-linux
zip exporter.zip exporter-linux