cliffred / spring-boot-observability

Spring Boot with Observability Sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spring Boot with Observability

CI workflow Quality Gate Status Coverage Latest Image

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

Quick start

  • 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 with admin / admin and open the Spring Boot Observability dashboard

About

Spring Boot with Observability Sample


Languages

Language:Kotlin 95.1%Language:Shell 3.6%Language:JavaScript 1.4%