ning1875 / dynamic-sharding

用动态分片解决pushgateway高可用 单点 HA问题
https://ning1875.ke.qq.com/
47 stars 23 forks source link

127.0.0.1:8500: connect: connection refused #4

Open kakaNo1 opened 3 years ago

kakaNo1 commented 3 years ago

图片

consul_server:
  # consul api 地址
  addr: localhost:8500
  username:
  password:
  # promethues中consul sd中pgw service name
  register_service_name: pushgateway
# 服务web addr
http_listen_addr: :9292
# pgw信息
pushgateway:
  port: 9091
  servers:
    - 10.0.28.239
    - 10.0.29.24
ning1875 commented 3 years ago

图片

consul_server:
  # consul api 地址
  addr: localhost:8500
  username:
  password:
  # promethues中consul sd中pgw service name
  register_service_name: pushgateway
# 服务web addr
http_listen_addr: :9292
# pgw信息
pushgateway:
  port: 9091
  servers:
    - 10.0.28.239
    - 10.0.29.24
kakaNo1 commented 3 years ago

图片

I just forgot to launch Consul, I pushGateway is two, both are accessible on the server where Consul is located, but there is only one display, why

ning1875 commented 3 years ago

forgot to launch Consul, I pushGateway is two, both are accessible on the server where Consul is located, but there is only one display, why

大兄弟说中文吧 ,查查pushgaway是不是有可用,看看日志,是不是探活失败了