This project show how to activate tracing with SpringBoot 3.X and Opentelemetry.
Spring Cloud Sleuth is deprecated in Spring Boot 3.X, use now Micrometer tracing.
- otel-collector: docker-compose with opentelemetry-collector and, Jaeger and Zipkin for backend query
- spring-tracing-zipkin: Project with micrometer-tracing-bridge-brave and zipkin reporter
- spring-tracing-otel: Project with micrometer-tracing-bridge-otel and opentelemetry-exporter-zipkin
- spring-tracing-opentelemetry: Project with only OpenTelemetry
- Start docker-compose otel-collector
- Start application spring-tracing-zipkin or spring-tracing-otel or spring-tracing-opentelemetry
- Use call-resource-api.sh to make an api call
- Go to Jaeger Backend or Zipkin backend to see result
https://spring.io/blog/2022/10/12/observability-with-spring-boot-3