In spring-boot2.0, spring-boot-starter-actuator can implement application monitoring.
The default monitoring endpoints for web endpoints are only health and info.
Default configuration of acurator in spring boot
management.endpoints.web.exposure.include=health,info
management.endpoints.web.base-path=/actuator
management.endpoint.health.show-details=never
management.endpoints.web.base-path=/actuator
management.endpoint.health.show-details=never
Among them, only the summary information is displayed, and the complete information is not displayed. If you want to display the complete information when accessing /acurator/health, you need to add the following configuration:
management.endpoint.health.show-details=always