I’ve got an app that we advertise broadly on the streamlit sharing platform:
It works well most of the time, but it occasionally crashes - maybe once every couple of weeks. While I’d like to make the app more stable, I’m not sure how to debug this.
My question is: Is there a way to write a monitor for streamlit apps? For example, if I access the app URL with an automated GET request, is it possible to tell from the response if the app is running? I can live with the occasional crashes, but I’d love to get alerted when it needs re-started, or even better, have the app re-start automatically after a crash.
I’d appreciate any hints or tricks. Thanks for considering!