随笔分类 - consul
摘要:导出 consul kv export -http-addr=ip:8500 -token="xxxx-xxxx-xxxx-xxxx-xxxxxx" > consul-kv.json 导入consul kv import -http-addr=ip:8500 -token="xxxx-xxxx-xx
阅读全文
摘要:研究了一下prometheus 使用consul的服务发现做监控,每次都是手动去注册服务,感觉很low,脚本整起来测试了一下基本可用,留着备用。 consul service相关的api参考: https://www.consul.io/api/agent/service.html https://
阅读全文

浙公网安备 33010602011771号