spring-boot health not showing details (withDetail info)

后端 未结 7 1110
北荒
北荒 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:13

    Setting 'endpoints.health.sensitive' made no difference... had to set:

    management:
        security:
            enabled: false
    
    0 讨论(0)
提交回复
热议问题