OpenTelemetry provides the tracing framework that connects a Spring Boot application to Jaeger through Micrometer and the OpenTelemetry Protocol (OTLP). It turns application activity into traces that can be inspected across operations such as HTTP requests and vector-store queries. section 9.4
A working integration requires:
- Run Jaeger with OTLP collection enabled, exposing ports 4317 for trace data and 16686 for its user interface. section 9.4
- Add the Micrometer tracing bridge and the OpenTelemetry OTLP exporter. section 9.4
- Declare an OTLP exporter bean and inject its endpoint from configuration, allowing development and production hosts to differ. section 9.4
- Adjust sampling when needed: development can capture every trace, while production commonly uses a smaller proportion to reduce computational load. section 9.4
Tracing Board Game Buddy
A POST request to /ask can be followed in Jaeger from request handling through a Qdrant query. Span tags help confirm what the vector-store operation was intended to do. section 9.4
services:
# ...
jaeger:
image: jaegertracing/all-in-one:latest
ports:
- "16686:16686"
- "4317:4317"
environment:
- COLLECTOR_OTLP_ENABLED=true
Use the supplied Docker Compose listing to start Jaeger with OTLP reception enabled. section 9.4






