Auto-instrumentation on the Java side
The API service and the Spring Kafka consumer pull in opentelemetry-spring-boot-starter. HTTP handling, JPA calls to PostgreSQL and Kafka produce/consume get spans without touching the business code. The trace context rides along in Kafka message headers.




