I believe we have a built in path for health checking that you can use here. /_ah/health_check