Sample project for implementing a complete observability stack using Loki, Tempo, Prometheus and Grafana in Spring boot.
Largely based on https://github.com/blueswen/spring-boot-observability
- To run with the OpenTelemetry Instrumentation agent run
./gradlew bootJar && ./run-with-otel
- Find the swagger-ui at http://localhost:8080
- Generate some observability data by running the k6 load test
k6 run k6/script.js
or check out the http-requests - View observability data in Grafana
goto http://localhost:3000
log in withadmin
/admin
and open the Spring Boot Observability dashboard