I'm not quite sure what this means - is it related to tmpnb or jupyterhub, perhaps?
Thanks! we have our own docker spawner which is hard to integrate with tmpnb. So I run notebook directly and need a /health_check.
I'm still not sure what you're after. What information would be in the response of /health_check? What are you trying to load balance? Sorry if this is obvious relative to tmpnb or something - I don't know much about that part of the project.
Are you interest in a /health_check REST endpoint that a load balancer can hit to get the status of the notebook server?
I +1 a /health endpoint. This is useful in also for some schedulers for example for a liveliness check for Kubernetes (https://lukemarsden.github.io/docs/user-guide/liveness/).
I personally like what Elasticsearch does: https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html - but in general a return code of 200 would be good enough in most cases.
would be really useful
Do we have any updates on this? It would be really useful to have a /health endpoint which just simply returns status 200.
Any update regarding this issue?
Most helpful comment
Do we have any updates on this? It would be really useful to have a
/healthendpoint which just simply returns status200.