Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4720

HAProxy dynamic discovery with Consul dns and Prometheus

$
0
0

@pvyaka01 wrote:

Can someone pls help with this?

I’ve setup a consul based dynamic discovery for haproxy backends. - something like:
server-template test-ui 8 _test-ui._tcp.service.consul check resolvers ConsulAutoDiscovery check init-addr none

Auto discovery runs good and i can see 8 backends in the stats page showing and whichever ones are discovered are green. So far great. Here’s the issue:

  1. All the backends that do not have any ip associated show up as “down” in stats page as opposed to MAINT. I read that they will show up as MAINT.
  2. We’ve Prometheus scraping configured but now that these non-ip backends show up as down, we get constant alerts for haproxy backend down.

Did anyone encounter this problem? What is a good solution?

Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4720

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>