Bluemix Ruby 应用健康检查配置

Bluemix Ruby app health check configuration

我们有一个 Sinatra 应用程序,它通过 Bluemix Ruby 服务部署到 Bluemix。

但是,该应用程序在一段时间后不可用,我们怀疑 Bluemix 健康检查失败。我们可以看到从我们认为是 Bluemix 负载均衡器的东西定期调用根(即 / 路由)。但是,我们的根路由受基本身份验证保护。

我们如何更改负载均衡器为我们的应用程序调用的路由?

是否有健康检查功能的文档?

这似乎还不可能。 This recently updated documentation 在 "Staging an application" 下指出:

To validate the app health, Diego supports the same PORT-based checks that were used for DEA. However, Diego is also designed to be able to have more generic options like URL-based health checks, which might be enabled in the future.

似乎旧的 DEA architecture 也不支持 url 健康检查。