Add dependency
<dependency> <groupId>org.springframework.boot</groupId> <artifactId> Spring-boot-starter-actuator</artifactid></dependency>
When you start the background, you see
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M01/9C/0E/wKioL1lrf6CT2byiAAHuXjKDwGg833.png-wh_500x0-wm_ 3-wmp_4-s_1794729685.png "title=" Qq20170716225805.png "alt=" Wkiol1lrf6ct2byiaahuxjkdwgg833.png-wh_50 "/>
You can access the corresponding address, for example:
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/9C/0F/wKiom1lrf8zRhP3DAADXuTKwG4Q201.png-wh_500x0-wm_ 3-wmp_4-s_64823567.png "title=" Qq20170716230117.png "alt=" Wkiom1lrf8zrhp3daadxutkwg4q201.png-wh_50 "/>
Configure the ports that need to be monitored, if not specified, the port of the server is used, if specified, filter the port, do not detect, such as do not detect health.mail, if you do not specify 8082, you use the server's 8081
server:port:8081 management:port:8082 Health:mail:enabled:false
Custom configuration to Be continued
This article is from the "Summit" blog, make sure to keep this source http://786678398.blog.51cto.com/2082557/1948066
Spring-boot-starter-actuator Monitoring in Eureka (registration center)