spring-boot-actuator 模块提供了 Spring Boot 的所有生产就绪功能。 启用这些功能的推荐方法是添加对“Starter”的依赖项。spring-boot-starter-actuatorSpring中文文档

执行器的定义

执行器是一个制造术语,指的是用于移动或控制某物的机械设备。 执行器可以从微小的变化中产生大量的运动。Spring中文文档

若要将执行器添加到基于 Maven 的项目,请添加以下“Starter”依赖项:Spring中文文档

<dependencies>
	<dependency>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-actuator</artifactId>
	</dependency>
</dependencies>

对于 Gradle,请使用以下声明:Spring中文文档

dependencies {
	implementation 'org.springframework.boot:spring-boot-starter-actuator'
}