首页 文章

spring 启动2带 Actuator

提问于
浏览
3

我正在使用 spring 启动2.0.0.M3与 spring 启动器 - 启动器 - Actuator . 我启用了两项 Health 检查:

management.health.diskspace.enabled=true
management.health.mongo.enabled=true

Health 检查bean由自动配置创建,但不是 HealthMvcEndpoint . localhost:8080/health 的回复是404 .

我做错了什么?

提前致谢

编辑:

Mhm Actuator 项目是否与反应和webflux一起工作?好的发现了这个问题:https://github.com/spring-projects/spring-boot/issues/7970

3 回答

相关问题