Spring Boot Actuator brings production-ready observability and management capabilities to any Spring Boot application. By adding a single starter dependency, you gain HTTP endpoints for health checks, live metrics, environment inspection, thread dumps, and more — all secured and configurable without writing boilerplate code.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/spring-projects/spring-boot/llms.txt
Use this file to discover all available pages before exploring further.
Adding the dependency
Addspring-boot-starter-actuator to your project. Spring Boot auto-configures every feature in this module once the starter is on the classpath.
What is available by default
After adding the dependency, only the/actuator/health endpoint is exposed over HTTP. A discovery page listing all available endpoints is accessible at /actuator.
By default, only the
health endpoint is exposed over HTTP and JMX. Endpoints may contain sensitive information, so you should carefully consider which ones to expose in production.Exposing additional endpoints
Usemanagement.endpoints.web.exposure.include to expose more endpoints. The * wildcard selects all endpoints.
- Expose all endpoints
- Expose selected endpoints
- Exclude specific endpoints
Controlling access
Each endpoint has anaccess property with three levels:
| Value | Behavior |
|---|---|
unrestricted | Available to all callers |
read-only | Only @ReadOperation methods (GET/HEAD) are accessible |
none | Endpoint is removed from the application context entirely |
none and enable individual endpoints:
Securing actuator endpoints
If Spring Security is on the classpath and no customSecurityFilterChain bean is present, Spring Boot auto-configuration secures all actuator endpoints except /health. To apply role-based access, define your own security configuration using EndpointRequest:
Using a separate management port
To run actuator endpoints on a different port from your main application — useful for internal-only access — configuremanagement.server.port:
-1 disables HTTP management endpoints entirely.
Customizing the base path
Change the/actuator prefix using management.endpoints.web.base-path:
/actuator/{id} to /manage/{id}.
Endpoints reference
Browse all built-in endpoints and learn how to create custom ones.
Health checks
Understand health status values, indicators, and Kubernetes probes.
Metrics
Explore Micrometer integration and supported monitoring systems.