Spring Boot的Actuator提供了运行状态监控的功能,Actuator的监控数据可以通过REST、远程shell(1.5之后的版本弃用)和JMX方式获得。引入Actuator的起步依赖spring-boot-starter-actuator:<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId></dependency>