Demo setup for Spring Boot 3 with Prometheus, Grafana, Loki, and Tempo to demonstrate Observability use-cases.
[!NOTE]
You must have Java 17 or latter and Maven 3 to run this project
brew install java
brew install maven
docker compose -p observability up
docker compose -p observability down
docker compose -p observability down --volumes
[!IMPORTANT]
Before run the demos, you need to add kafka host to your /etc/hostssudo -- sh -c -e "echo '127.0.0.1 kafka' >> /etc/hosts";
Run forrest, run.
./mvnw spring-boot:run -pl kafka-producer-demo
./mvnw spring-boot:run -pl kafka-consumer-demo
[!NOTE]
Take a look on Makefile, there are scripts to simulate latency, errors etc.
root:password
)