SpringBoot Actuator¶
SpringBoot Actuator is a sub-project of Spring Boot that provides production-ready features to help developers monitor and manage their applications.^[600-developer__spring__尚矽谷-SpringBoot2核心技術.md]
Key Features¶
The primary function of Actuator is to expose endpoints that allow for the observation and interaction with the application's internals.^[600-developer__spring__尚矽谷-SpringBoot2核心技術.md] It enables the monitoring of application Metrics and the management of the application state.
Core Concepts¶
Endpoints¶
Actuator provides various endpoints, such as health checks and Metrics information, which can be accessed over HTTP or JMX.^[600-developer__spring__尚矽谷-SpringBoot2核心技術.md] These endpoints facilitate the monitoring of the running application.
Metrics¶
The module includes robust support for metrics, often utilizing the [[Micrometer]] facade to dimensionalize Metrics and integrate with external monitoring systems like Prometheus or Elasticsearch.^[600-developer__spring__尚矽谷-SpringBoot2核心技術.md]
Configuration¶
Actuator functionality can be customized, such as by enabling or disabling specific endpoints or defining how Metrics are exported to external systems.^[600-developer__spring__尚矽谷-SpringBoot2核心技術.md]
Related Concepts¶
- SpringBoot
- [[Micrometer]]
Sources¶
- 600-developer__spring__尚矽谷-SpringBoot2核心技術.md