Actuator
Spring Boot Actuator is a subproject of Spring Boot, it provides useful insights and an overview of our application by defining a certain set of metrics such as monitoring, healthchecks, logging, and other application-related information. Endpoint examples include :
- localhost:8080/actuator/health
- localhost:8080/actuator/metrics
- localhost:8080/actuator/info
Note that every endpoint starts from the “actuator” keyword, signifying the same. We can include this sub-project into our application by including the following dependency into our POM File:-
XML
< dependency > < groupId >org.springframework.boot</ groupId > < artifactId >spring-boot-starter-actuator</ artifactId > </ dependency > |
SpringBoot Configuration
Spring Boot is a powerful framework built on top of the Spring framework. Spring Boot allowed programmers to focus mainly on the business logic without worrying about the external configuration and setting up the environment resources like server setup.