This project uses Quarkus with Java 11
./mvnw compile quarkus:dev
./mvnw package
docker build -f src/main/docker/Dockerfile.jvm -t bolivianjug/monitoring-and-profiling .
docker-compose up -d monitoring-and-profiling
Test that everything is running:
curl -X GET http://localhost:8080/hello/world
docker-compose up -d prometheus
Now, go to http://localhost:9090 then click on Status>Targets, and finally check that you have the following entries with the label "UP":
- my-app (1/1 up)
- prometheus (1/1 up)
docker-compose up -d grafana
To check that grafana is running go to http://localhost:3000. The default user/pwd is admin/admin