Closed jlevesy closed 1 year ago
This PR makes prometheus-elector optionally wait for Prometheus to be ready before trying to take leadership.
It waits by polling the Prometheus readiness endpoint.
It cleans a bit the logging which was inconsitent.
Relates to: #32
make run # then check the logs
What Does This PR do?
This PR makes prometheus-elector optionally wait for Prometheus to be ready before trying to take leadership.
It waits by polling the Prometheus readiness endpoint.
It cleans a bit the logging which was inconsitent.
Relates to: #32
How to Test This PR?
Good PR Checklist