【发布时间】:2020-08-01 02:36:25
【问题描述】:
我有一个 Spring Boot 应用程序 (v2.3.2) 并启用了执行器健康组以实现活跃性和就绪性:
management:
endpoints:
enabled-by-default: false
endpoint:
health:
enabled: true
probes:
enabled: true
然后GET /actuator/health 返回:
{
"groups": [
"liveness",
"readiness"
],
"status": "UP"
}
根据文档,我应该也可以GET /actuator/health/liveness 和GET /actuator/health/readiness,但都返回404。
我错过了任何配置吗?
【问题讨论】:
标签: java spring spring-boot