spring-cloud-consul
spring-cloud-consul copied to clipboard
Register new HealthIndicator fails
I'm trying to register a Database health indicator to make it appear into the /health payload.
when only adding the actuatordependency including the spring-cloud-starter-consul-discoveryonly the following payload is returned
{
"description": "Spring Cloud Consul Discovery Client",
"status": "UP"
}
after adding one or many healthIndicator implementation only the following appears.
{
"status": "UP"
}
It looks that the HealthAggregatorisn`t used or something I could not figure out.
Thanks
why do you think it fails? By default, spring boot doesn't display details.
I removed the spring-cloud-consul dependency and have the same behaviour. looks I missed something. thanks