You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm it looks like its not necessarily not being able to reach the DNS server.
miekgdns and the default DNS server have different behaviours when a host can not be resolved. The default DNS resolved returns a err no such host while the miekgdns returns a nil response and a nil error.
So what we could do is to instead of propagating the no such host error from the default DSN resolver to the top, we could check if it is such error and return nil as well. This way both choices have the same behaviour.
Thanos, Prometheus and Golang version used:
thanosio/thanos:v0.14.0
What happened:
Some details/backstory can be found here: prometheus/alertmanager#2372
TL;DR, thanos ruler dies at startup if it cannot revolve AM DNS.
What you expected to happen:
Ruler to boot up and at leats process rules.
How to reproduce it (as minimally and precisely as possible):
Full logs to relevant components:
Anything else we need to know:
Could not reproduce on MacOS.
When passing
--query.sd-dns-resolver=miekgdns
, ruler does not die.The text was updated successfully, but these errors were encountered: