Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upPrometheus should try to create consul discovery forever or fail on startup #1707
Comments
discordianfish
added
kind/bug
component/service discovery
labels
Jun 6, 2016
This comment has been minimized.
This comment has been minimized.
|
This applies to all other SD providers as well. First I tended towards failing on startup but the nice thing about using promtool to check config is to know that if it's okay, Prometheus will start. Which makes me prefer trying to reconnect forever and have a error counters for the SD providers. |
This comment has been minimized.
This comment has been minimized.
|
According to the code, when you set The problem is when |
roman-vynar
referenced this issue
Sep 26, 2016
Merged
Do not fail Consul discovery on Prometheus startup when Consul is down. #2034
fabxc
closed this
in
#2034
Sep 27, 2016
This comment has been minimized.
This comment has been minimized.
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. |
discordianfish commentedJun 6, 2016
•
edited
If Prometheus is configured to use consul sd but consul is down when Prometheus starts, it tries to connect to consul and fails but still comes up.
The result is a up and running Prometheus server which doesn't scrape the configured targets.
Instead Prometheus should try to connect to consul forever or fail on startup.