timescale / prometheus-postgresql-adapter

Use PostgreSQL as a remote storage database for Prometheus
Apache License 2.0
335 stars 66 forks source link

Error: prometheus_postgresql_adapter on 127.0.0.11:53: no such host #115

Open win32nipuh opened 4 years ago

win32nipuh commented 4 years ago

I have fixed this file and run it https://github.com/timescale/prometheus-postgresql-adapter/blob/master/docker-compose.yml

The services started ok, but then I receive the errors:

prometheus_1 | ts=2020-08-27T12:55:50.967Z caller=dedupe.go:112 component=remote level=warn remote_name=686501 url=http://prometheus_postgresql_adapter:9201/write msg="Failed to send batch, retrying" err="Post \"http://prometheus_postgresql_adapter:9201/write\": dial tcp: lookup prometheus_postgresql_adapter on 127.0.0.11:53: no such host"

How to fix it?