April 2018
Intermediate to advanced
432 pages
10h 38m
English
Consul checks out the health status of every registered instance by calling the /health endpoint. If you do not wish to provide the Spring Boot Actuator library in the classpath, or there are some problems with your service, it will be visible on the web dashboard:

If the health check endpoint is available under a different context path for any reason, you may override that path with the spring.cloud.consul.discovery.healthCheckPath property. There is also the possibility to change the status refresh interval by defining healthCheckInterval with a pattern, such as, for example, 10s for seconds or 2m for minutes.
spring: cloud: ...