How do I configure my prometheus.yaml to scrap metrcis from my domain based backend web server?
Is it even possible? or should I just set up a Prometheus Federation <https://prometheus.io/docs/prometheus/latest/federation/> since threre is no other way? Em terça-feira, 7 de julho de 2020 23:31:56 UTC-3, Warren Pang escreveu: > > You want to setup domain based virtual hosts in backend web server. > > Thanks > > On Wed, Jul 8, 2020 at 10:00 AM Rafael Quintela <[email protected] > <javascript:>> wrote: > >> I need to scrap metrics from many servers running docker-compose(multiple >> applications each) and a reverse proxy(nginx, traefik, etc..). >> >> Example; >> curl https://app1.io/metrics --resolve "app1.io:443:99.84.16.181" >> curl https://app2.io/metrics --resolve "app2.io:443:99.84.16.181" >> curl https://app3.io/metrics --resolve "app2.io:443:99.84.16.181" >> >> So, how can I target multiple hostname on the same IP/DNS address? >> >> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/prometheus-users/bf0c17fc-6fb3-4c26-8b98-6aef338387ddo%40googlegroups.com >> >> <https://groups.google.com/d/msgid/prometheus-users/bf0c17fc-6fb3-4c26-8b98-6aef338387ddo%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/621dd5af-afdc-4250-b1e1-7c800f9974b4o%40googlegroups.com.

