Spring Boot Actuator¶
Spring Boot Actuator is a sub-project of Spring Boot that provides production-ready features for applications.^[600-developer__spring__SpringBoot-Actuator.md, 600-developer-spring-springboot-actuator.md]
Core Features¶
The primary purpose of Actuator is to enable monitoring and management of applications in production^[600-developer-spring-springboot2.md]. It achieves this through Endpoints, which expose various operational data about the running application^[600-developer-spring-springboot2.md].
Key capabilities include: * Metrics: Gathering Metrics data, often integrated with tools like Micrometer^[600-developer-spring-springboot2.md]. * Health Checks: Monitoring the status of the application. * Auditing: Tracking application events.
Endpoints¶
Actuator functionality is exposed via Endpoints^[600-developer-spring-springboot2.md]. These can be accessed over HTTP or JMX. Common endpoints include:
* Conditions (/actuator/conditions): Displays the conditions that were evaluated on configuration and auto-configuration classes, showing why a bean was or was not created^[600-developer__spring__springboot.md].
* ConfigProps (/actuator/configprops): Displays a collated list of all @ConfigurationProperties^[600-developer__spring__springboot.md].
* Web API: The endpoints are formally documented in the Spring Boot Actuator Web API Documentation^[600-developer__spring__SpringBoot-Actuator.md, 600-developer-spring-springboot-actuator.md].
Usage¶
To understand the auto-configuration decisions made by the application, developers can inspect the /actuator/conditions endpoint^[600-developer__spring__springboot.md].
Sources¶
- 600-developer__spring__SpringBoot-Actuator.md
- 600-developer-spring-springboot-actuator.md
- 600-developer-spring-springboot2.md
- 600-developer__spring__springboot.md