Lark - Implement a health check endpoint
Our deployment strategy will benefit significantly from having health checks/application observability. See, e.g. https://microservices.io/patterns/observability/health-check-api.html
Acceptance Criteria:
-
there is a top level /health
endpoint that:-
gives a 2xx
when all other statuses are healthy -
returns some aggregated JSON data for other health checks
-
-
there is a /health/index
endpoint that checks the connection to the solr index -
other heath check endpoints as seems appropriate to implementer
Edited by tamsin woo