I have written a class implementing HealthIndicator, overriding the health-method. I return Health.down().withDetail(\"SupportServiceStatus\", \"UP\").build();<
Health.down().withDetail(\"SupportServiceStatus\", \"UP\").build();
For Spring boot 2.X I have following in my application.properties file for detailed information:
management.endpoints.web.exposure.include=* management.endpoint.health.show-details=ALWAYS