- Spring Boot Actuator: Health check, Auditing, Metrics gathering and Monitoring
- Spring Boot Actuator metrics monitoring with Prometheus and Grafana
1. Clone the application
git clone https://github.com/callicoder/spring-boot-actuator-demo.git2. Build and run the app using maven
mvn package
java -jar target/actuator-demo-0.0.1-SNAPSHOT.jarAlternatively, you can run the app directly without packaging like this -
mvn spring-boot:runThe app will start running at http://localhost:8080.
All the actuator endpoints will be available at http://localhost:8080/actuator.
Some of the actuator endpoints are protected with Spring Security's HTTP Basic Authentication. You can use the username actuator and password actuator for http basic authentication.