Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNS resolution happens only on startup #1683

Closed
alon-argus opened this Issue May 28, 2016 · 4 comments

Comments

Projects
None yet
2 participants
@alon-argus
Copy link

alon-argus commented May 28, 2016

Hi again everyone.

I use a DNS service for my services (specifically Mesos-DNS, but it can be Consul or any other), therefore I use Prometheus' dns_sd_configs configuration option to give my services addresses

The problem is:
Prometheus resolves the SRV DNS addresses only on its startup ,so if Prometheus starts before the DNS server, it won't show all of these Targets. They won't even appear as "Down", but they'll just never appear until I'll restart Prometheus.

Version: 0.18.0

@matthiasr

This comment has been minimized.

Copy link
Contributor

matthiasr commented May 28, 2016

@alon-argus

This comment has been minimized.

Copy link
Author

alon-argus commented May 28, 2016

Thanks a lot for the quick reply.
It happens only when I start DNS after Prometheus.
Anyway, I'm trying to reproduce now with the latest version 0.19.1

@alon-argus

This comment has been minimized.

Copy link
Author

alon-argus commented May 28, 2016

OK, it seems like it doesn't reproduce with 0.19.1. I'm closing the issue and I'll report if it happens again. Thanks!

@alon-argus alon-argus closed this May 28, 2016

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 24, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.