Hi, You cannot implement custom health checks in Google App Engine (GAE) Standard Environment. Our public documentation shows that adding legacy and updated health checks you are referring to is possible in Custom Runtime apps (i.e. GAE Flex apps) by configuring the app.yaml file [1]. This is an advantage of switching to GAE Flex.
For App Engine Standard, which doesn't afford you that flexibility, hardware and software failures that cause early termination or frequent restarts can occur without prior warning. This sometimes manifests as a non-responsive instance, returning HTTP status 500. We advised that you construct your GAE Standard apps to be able to handle this [2]. And you can reference this documentation for configuring your app.yaml file for your GAE app's app.yaml. [1] https://cloud.google.com/appengine/docs/flexible/custom-runtimes/configuring-your-app-with-app-yaml [2] https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_uptime [3] https://cloud.google.com/appengine/docs/standard/python/config/appref -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/681396fd-9328-41c8-956c-652aa48f7e11%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
