Prometheus scraping over VPN #12445
maximinogomez
started this conversation in
General
Replies: 1 comment
-
It seems like your Prometheus setup is encountering a DNS resolution issue when trying to scrape metrics from 'abcops01' over the VPN. To ensure connectivity, try either providing the IP address directly or ensuring proper DNS resolution within your VPN network configuration. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have Prometheus running on my local box(Mac OS) which is connected to my company VPN. In the prometheus.yml configuration we have defined service running inside our VPN.
When we look into the Prometheus targets via Web client, we see the following error for this service.
Get "http://abcops01:5200/metrics?api_key=d03efKfls25PwA": dial tcp: lookup abcops01 on [2001:558:feed::1]:53: no such host
I am assuming this is because of the VPN. Should this work over the VPN or is this not possible. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions