Actuator cung cấp production-ready endpoints để expose thông tin nội bộ ứng dụng qua HTTP/JMX.
- Các endpoint chính:
/health(trạng thái ứng dụng),/metrics(performance metrics),/env(configuration),/beans(registered beans),/loggers(log levels). - Không cần viết custom code để monitoring.
- Kích hoạt bằng dependency
spring-boot-starter-actuator, configure expose endpoint trong properties. - Quan trọng cho: operational visibility, debugging, cloud-native (Kubernetes health check).