How to hide a certain page from displaying on sidebar in a multipage setup

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?

Hello,

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 :smiley:)

1 Like

That’s what I needed.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.