Skip to content

ATC Should have a healthcheck endpoint attached to it #1107

Closed as not planned

Description

@chendrix

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.


Moved from vmware-archive/atc#160
/cc @zachgersh

Activity

  1. added this to the milestone on May 9, 2017
  2. removed this from the milestone on Nov 29, 2017
  3. Freakin commented on Mar 23, 2018

    @Freakin

    Health check endpoint should also not redirect back to external URL

  4. jdub commented on Aug 7, 2018

    @jdub
    Contributor

    And ideally not create a session. 😄

  5. mjj209 commented on Nov 28, 2018

    @mjj209

    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.

  6. jdub commented on Nov 30, 2018

    @jdub
    Contributor
  7. zachgersh commented on Feb 26, 2019

    @zachgersh
    Contributor

    @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.

  8. radoslav-tomov commented on Nov 4, 2019

    @radoslav-tomov
    Contributor

    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.

    @zachgersh What do you think about that?

  9. alexbakar commented on Nov 25, 2019

    @alexbakar

    Added PoC for the health endpoint here: #4818
    Please test and comment. Any feedback is welcome.

  10. taylorsilva commented on Jan 6, 2025

    @taylorsilva
    Member

    There's an RFC discussing this now: concourse/rfcs#46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions