Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

maven-java-monitoring-example

Repository to show monitoring of Spring Boot Actuator Health Check, Metrics Gathering

Pre-Reqs:

  • Maven (Tested on 3.8.5 using openjdk-17)
  • Java 17

Steps To Run:

  1. Clone the repository
git clone https://github.com/kahootali/maven-java-monitoring-example.git
cd maven-java-monitoring-example/
  1. Build and run the app using maven
mvn package  # it will create a target folder with the packaged jar
java -jar target/actuator-demo-0.0.1-SNAPSHOT.jar

Alternatively, you can run the app directly without packaging using maven directly.

mvn spring-boot:run

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

Explore Actuator Endpoints

All the actuator endpoints will be available at

Some of the endpoints like http://localhost:8080/slowApi/ are protected with Spring Security's HTTP Basic Authentication. You can use the username actuator and password actuator for http basic authentication.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages