I was curious re: healthchecks. I am trying to deploy a Panel app, and can’t seem to use the same URL for Panel app as a healthcheck. Reason perhaps is because whenever load balancer hits that link, it causes the app to load with default parameters, and that action takes ~5-10 seconds.
Is there a fast / convenient way to introduce an extension endpoint that could just check whether my Panel server is alive ?
I am thinking to basically add a dummy Dashboard class somehow, and have it be the endpoint for healthcheck, but not sure how to implement in within Panel python code…
I have a suspicion just adding another
panel_healthcheck.py and then
panel serve *.py could solve it… But then I am not checking the health of the script running the dashboard, so that’s a problem.