I'm able to use PromQL and return metrics in the dashboard for *endpoint.example.com:9100 *but when actually on the Prometheus host and running *curl 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/8b45f367-b4c5-468a-9bdd-573d912e882bn%40googlegroups.com.