← Spring Boot learning pathSpring Boot · Module 9 of 10
Actuator and observability
Monitor health, metrics and logs in production.
📖 Key ideas
- spring-boot-starter-actuator adds /actuator endpoints.
- /actuator/health shows if the app is up.
- Metrics via Micrometer to Prometheus and Grafana.
- Structured logging with SLF4J/Logback.
- Expose only safe endpoints publicly.
💡 Real-life example: Actuator is a car dashboard: speed, fuel and warning lights for your running app.
ActuatorProduction monitoring endpoints
/actuator/healthHealth status endpoint
MicrometerMetrics facade
SLF4JLogging API