This is a spring boot example project to show the prometheus client lib instrumentation in springboot
It consists of two spring boot applications
- the skeleton for the lab in the source folder
- the solution in the solution folder
./mvnw clean package
java -jar target/prometheus-training-spring-boot-example-0.0.1-SNAPSHOT.jar
curl http://localhost:8080/actuator/prometheus
curl http://localhost:8080/api