This project shows how monitoring of a Spring Boot Application and the system around it can be done. For the easy installation docker containers are used to run the needed software.
To get the steps take a look at the commits of this project. They guide you through the process step-by-step. Take note that on some commits there is more text in the commit message, make sure you expand the message to see the whole text.
The Project is small Spring Boot application which serves a cat image on http://localhost:8080/cat.jpg.
There is also a test to demonstrate the testing scenario.
A Dockerfile
is also included to package the application in a docker environment for easier demonstration.
To execute the application for testing, execute ./gradlew bootRun
on the commandline.
- Run
./gradlew bootJar
- Run
docker-compose build