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]> 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]. > 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/CAFi61Rvad1cwk15KYS%3DzBfRRpvwT8bDGfbHinR3WzgBotOe%2BtQ%40mail.gmail.com.

