Need to import-dependent actuator:
<!-- 监控中心 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
Then add the following configuration application.properties years, to avoid the user to access part of the monitoring address to access restricted
management:
security:
enabled: false
Then we can use / actuator to view a variety of information (monitoring, health, etc.), such as localhost: 8080 / actuator