Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add `/-/healthy` and `/-/ready` endpoints #2831
Prometheus should provide an health endpoint which returns 200 if prometheus is ready to response to queries (recovery is done etc).
The officially recommendation on high availability is to run two instances behind a load balance. In such scenario we need a health endpoint to avoid hitting a prometheus server that got restarted and isn't ready to serve traffic.
From the discussion in prometheus/pushgateway#105 , I'd say what you want here is a
In other words:
Prometheus should bind to
Prometheus should start responding 200 to