consul-template实现prometheus动态添加监控节点
使用场景:私有云物理装机项目,使用prometheus node_exporter 监控物理机cpu,磁盘,内存,tcp,网络等运行指标,动态的添加node_exporter 指标采集地址软件环境consul注册中心、prometheus node_exporter、 prometheus consul-template:Consul-Template可以查询Consul中的服务目录、Key、Key-values等,搭配ctmpl 模板,已守护线程的方式动态更新 文件。比如nginx配置;下
原创
2020-12-17 11:04:16 ·
973 阅读 ·
0 评论