Skip to content

callicoder/spring-boot-actuator-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Actuator: Health Check, Auditing, Metrics Gathering and Monitoring

Tutorials

  1. Spring Boot Actuator: Health check, Auditing, Metrics gathering and Monitoring
  2. Spring Boot Actuator metrics monitoring with Prometheus and Grafana

Steps to Setup

1. Clone the application

git clone https://github.com/callicoder/spring-boot-actuator-demo.git

2. Build and run the app using maven

mvn package
java -jar target/actuator-demo-0.0.1-SNAPSHOT.jar

Alternatively, you can run the app directly without packaging like this -

mvn spring-boot:run

The app will start running at http://localhost:8080.

Explore Actuator Endpoints

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.