指定Google App Engine运行状况检查端点 [英] Specify Google App Engine health check endpoint

查看:155
本文介绍了指定Google App Engine运行状况检查端点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在app.yaml的GAE health_check条目中指定运行状况检查端点?我看到各种阈值的选项,但我没有指示如何设置自定义端点,或者即使我的选项得到了尊重。



应用程序引擎文档指出 / _ ah / health 用于健康检查,但我想提供自己的健康状况检查。 / div>

您仍然可以编写自己的自定义健康检查代码。它只需要用HTTP 200回复​​/ _ah / health请求。


How do I specify a health check endpoint in my GAE health_check entry in app.yaml? I see options for various thresholds but I have no indication of how to set a custom endpoint or even if my options are being respected.

The app engine documentation states that /_ah/health is used for health checks but I would like to provide my own health checks.

解决方案

You can still write your own custom health-checking code. It just needs to reply to /_ah/health request with HTTP 200.

这篇关于指定Google App Engine运行状况检查端点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆