I think you might misunderstand what I said, the load-balancer is not for Prometheus collection metrics (Prometheus collects metrics from all push gateways) but for business servers pushing metrics. In this case, would this be the workaround? 在2020年11月17日星期二 UTC+8 上午5:12:16<Stuart Clark> 写道:
> On 16/11/2020 02:57, Andy Pan wrote: > > Is there a right path forward for Prometheus to collect metrics from > > multiple push gateways directly instead of going through a load-balancer? > > > > There is nothing special about the push gateway as far as Prometheus is > concerned. It is just a target to scrape. > > As mentioned previously you can't use a load balancer in front of a set > of push gateway instances, as otherwise the data will be meaningless. > > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/5a130d65-371b-4d7d-918c-af25282b6d85n%40googlegroups.com.

