Skip to content

Consider changing the health check endpoint to /healthz #447

Closed

Description

Today we have liveness (/liveness) and readiness (/readiness) health endpoints. These map to well-known health probes in the Kubernetes space. When someone wants to check the heath of the system, they can use readiness but it feels weird to have that name coupling. We should rename /readiness (which runs all of the health checks), to /healthz as a way to decouple how that endpoint is used by infrastructure.

Where does the healthz convention come from, see https://stackoverflow.com/questions/43380939/where-does-the-convention-of-using-healthz-for-application-health-checks-come-f

Activity

  1. changed the title [-]Change the health check endpoint to /healthz[/-] [+]Consider changing the health check endpoint to /healthz[/+] on Oct 23, 2023
  2. added a commit that references this issue on Oct 24, 2023
    26bf1be
  3. davidfowl commented on Nov 2, 2023

    @davidfowl
    CollaboratorAuthor

    We ended up with /heath and /alive

  4. locked and limited conversation to collaborators on May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions