/spring-boot-lgtm-opentelemetry-template

Spring Boot 3.x template with OpenTelemetry Agent

Primary LanguageJava

Spring Boot 3.2 Project template with LGTM stack

Spring Boot project template with OpenTelemetry and LGTM stack.

Blog TH: Setup โปรเจค Spring Boot 3.3 กับ OpenTelemetry + LGTM stack (โค้ด Template เอาไปใช้กันได้เลย)

Blog EN: Spring Boot 3.3 + OpenTelemetry (Agent) with otel-lgtm

Tech Stack

  • Spring Boot 3.3
  • Java 21
  • Gradle
  • PostgreSQL
  • Testcontainer
  • OpenTelemetry agent เอาไว้ใช้กับ Collector

Diagram for this side project - Spring Boot + OpenTelemetry + LGTM Stack

Dashboard from otel-lgtm container

JVM Overview (OpenTelemetry)

img.png

RED Metrics

img_1.png

Custom Dashboard

You can get it from /dashboard folder. Just import it to your Grafana

Logging - Example

img_2.png

Tracing - Example

img_3.png

img_4.png