To explore monitoring using Prometheus and Grafana.
For this project I took an existing project with Spring Boot 2 and Prometheus as fork from Satish Sharma. So the MySQL part was removed and the Spring Boot application was packed into Docker containers. Prometheus was also built in Docker Containers.
- Linux
- Docker
- Maven
- OpenJDK 8
- Call the directory 'person-application' and execute the command "mvn install package".
- execute "./build_docker.sh"
- exceute "./start_docker_container.sh"
- Call the directory 'prometheus'
- execute "./build_docker.sh"
- exceute "./start_docker_container.sh"
- visit http://localhost:9090
[1] Source code from Satish Sharma https://github.com/hellosatish/monitoring