spring-boot health not showing details (withDetail info)

后端 未结 7 1112
北荒
北荒 2020-12-29 20:13

I have written a class implementing HealthIndicator, overriding the health-method. I return Health.down().withDetail(\"SupportServiceStatus\", \"UP\").build();<

7条回答
  •  春和景丽
    2020-12-29 21:02

    At Spring Boot 2.0.0.RELEASE:

    management:
       endpoint:
          health:
            show-details: "ALWAYS"
    

提交回复
热议问题