HTTP requests for a /healthz route on an app deployed on Google App Engine don't seem to reach the /healthz endpoint within the app.
Instead, a 404 page is served, apparently from the GCP infrastructure.
Can I know how to override this behaviour and make these requests reach my app?
Thank you.
.
A bit more background:
I'm deploying a Streamlit app on Google App Engine.
Streamlit web UI appear to be sending requests to the /healthz endpoint periodically, and when these requests fail, Streamlit app stops working and displays an error message as below.

Some URL paths ending in z, including /healthz, are reserved for use by App Engine and cannot be used.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With