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
{{ message }}
Repository navigation
ATC Should have a healthcheck endpoint attached to it #1107
Would be nice to have a dedicated healthcheck endpoint on the ATC that we could setup so that HA ATC deployments can have an ATC removed from the pool when it becomes unhealthy.
Reacted by Diogo Lemos, Peter Jones, Bryan Kelly, Sascha Matzke, Vasco Figueira, James Pamplin, Caspar, Bram Swenson, danilo, Jacques Chester and 3 more
I found that the /api/v1/info returns a 200 without a re-direct. If this was documented, maybe this issue could be closed? Works great for running an HA concourse on GCP.
@mjj209 - sounds nice but I'd prefer it was actually a dedicated /health. That way, as mentioned above we don't run into a situation where a comment is needed to describe what other things /info is used for.
It would be really cool if concourse had a dedicated health endpoint, which can basically give enough information on whether the cluster can function. For our use case at least, I would hook it to Availability service, which would call it some interval of time and send alerts/track availability.
Something like /api/v1/health and should cover at least the health of the workers and the DB. Ideally, it should not disclose any information and should be exposed without authentication.
Right now, we have managed to do similar by other means, but it is ugly and would be much better if we can have a unified solution.
Activity
Freakin commentedon Mar 23, 2018
Health check endpoint should also not redirect back to external URL
jdub commentedon Aug 7, 2018
And ideally not create a session. 😄
mjj209 commentedon Nov 28, 2018
I found that the
/api/v1/inforeturns a 200 without a re-direct. If this was documented, maybe this issue could be closed? Works great for running an HA concourse on GCP.jdub commentedon Nov 30, 2018
zachgersh commentedon Feb 26, 2019
@mjj209 - sounds nice but I'd prefer it was actually a dedicated
/health. That way, as mentioned above we don't run into a situation where a comment is needed to describe what other things/infois used for.radoslav-tomov commentedon Nov 4, 2019
It would be really cool if concourse had a dedicated health endpoint, which can basically give enough information on whether the cluster can function. For our use case at least, I would hook it to Availability service, which would call it some interval of time and send alerts/track availability.
Something like
/api/v1/healthand should cover at least the health of the workers and the DB. Ideally, it should not disclose any information and should be exposed without authentication.Right now, we have managed to do similar by other means, but it is ugly and would be much better if we can have a unified solution.
@zachgersh What do you think about that?
alexbakar commentedon Nov 25, 2019
Added PoC for the health endpoint here: #4818
Please test and comment. Any feedback is welcome.
taylorsilva commentedon Jan 6, 2025
There's an RFC discussing this now: concourse/rfcs#46