Wondering if anyone has encountered this error before:
Post “http://lx-4:9095/api/v1/query”: dial tcp: lookup lx-4 on 138.153.159.32:53: server misbehaving - There was an error returned querying the Prometheus API.
- What Grafana version and what operating system are you using?
Latest version and Linux.
- What are you trying to achieve?
To connect my Prometheus server / data source to my Grafana server.
- How are you trying to achieve it?
By filling out the add data source connection form in the UI and clicking “Save & Test” at the bottom.
- What happened?
I get error: There was an error returned querying the Prometheus API
- What did you expect to happen?
The connection to be successful.
- Can you copy/paste the configuration(s) that you are having problems with?
global:
scrape_interval: 15s
scrape_configs:
- job_name: ‘prometheus’
static_configs:- targets: [‘lx-4:9095’]
- Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
Post “http://lx-4:9095/api/v1/query”: dial tcp: lookup lx-4 on 138.153.159.32:53: server misbehaving - There was an error returned querying the Prometheus API.
- Did you follow any online instructions? If so, what is the URL?