【发布时间】:2020-06-10 08:02:21
【问题描述】:
我正在开发在 8080 以外的端口上运行的 Spring Boot Web 应用程序。我需要编写一个 rest API 来检查应用程序以及底层数据库的健康状况。
同样的,我已经浏览了这个帖子:How to add a custom health check in spring boot health?,但没有找到任何具体的实现。
其实我想做以下事情:
所有下游 API 的健康检查
DB 是否工作正常
那么有人可以帮我解决这个问题吗?谢谢。
【问题讨论】:
标签: java spring spring-boot health-monitoring