摘要: 官方地址:https://www.consul.io/docs/agent/http.html consul的主要接口是RESTful HTTP API,该API可以用来增删查改nodes、services、checks、configguration。所有的endpoints主要分为以下类别: 下面 阅读全文
posted @ 2018-12-07 01:34 dragonliu 阅读(1290) 评论(0) 推荐(0) 编辑
摘要: 1.Prometheus整体架构图 2.配置文件 3.基于consul的服务发现 注意: Prometheus的consul_sd_config使用的是catalog的API。 使用http接口注册consul 4.prometheus配置详解 当查询的时候存在十分复杂的表达式,这样会降低prome 阅读全文
posted @ 2018-12-07 01:28 dragonliu 阅读(23361) 评论(0) 推荐(5) 编辑