I am trying to deploy a streamlit app on a private cloud. I need to setup a cloud probe to ping particular page on web application to check the health of the application (200 Status Code). My plan is to deploy a page named health.py to take care of that. But my question is how can one avoid it from showing it on the main page? Or is there anyway to check the health of the application?
Streamlit has an endpoint for health check, so it is not necessary to create a page for this purpose.
The Streamlit server has a
GET /healthz endpoint. Health Check
(I don’t know if there is a way to hide a page, but the endpoint seems to be what you need )
That’s what I needed.