Would anyone happen to know what is causing this behavior? up() PromQL statements return 0 for the hosts in question, but they are all scraping metrics successfully.
I don't believe I see any service discovery or pushes from the host, these were all set up traditionally to be scraped from Prometheus. On Monday, October 11, 2021 at 11:02:51 AM UTC-4 Kristopher Kahn wrote: > I'm able to use PromQL and return metrics in the dashboard for > *endpoint.example.com:9100 > <http://endpoint.example.com:9100> *but when actually on the Prometheus > host and running *curl endpoint.example.com:9100/metrics > <http://endpoint.example.com:9100/metrics>* nothing is returned and the > request just times out. > > What might be causing this behavior? I looked through the Prometheus > config but could not see anything special about what DNS resolver it's set > to use. I would imagine it's using the system-wide resolvers. This is a > systemd host - Ubuntu 18.04.1. > -- 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 prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/5feef844-43a4-4a38-aa23-dbb269c2ae23n%40googlegroups.com.