【文件属性】:
文件名称:squid-exporter:鱿鱼普罗米修斯出口商
文件大小:1.78MB
文件格式:ZIP
更新时间:2021-05-04 11:06:58
prometheus squid Go
鱿鱼普罗米修斯出口商
以Prometheus格式导出鱿鱼指标
注意:从1.0版开始,度量标准名称和某些参数已更改。 确保您检查了文档并相应地更新了您的部署!
新的
使用环境变量配置导出器
将自定义标签添加到指标
用法:
简单用法:
squid-exporter -squid-hostname "localhost" -squid-port 3128
为从localhost:9301/metrics抓取localhost:9301/metrics
- job_name: squid
# squid-exporter is installed, grab stats about the local
# squid instance.
target_groups:
- targets: ['localhost:9301']
要获取所有参数,命令行参数始终会覆盖默认值