Skip to content

Latest commit

 

History

History

distributed-tracing-spring-boot-opentelemetry-jaeger

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Distributed Tracing with OpenTelemetry and Jaeger

In this project I have figured out how we can integrate distributed tracing in a Spring Boot application. We are using OpenTelemetry to export traces to Jaeger.

You can read about this on my website https://refactorfirst.com

Once you build the application using mvn clean verify, You can start the application as two service instances.

Service 1

java -jar \
target/Distributed-Service-0.0.1-SNAPSHOT.jar \
--spring.application.name=Service-1 \
--server.port=8080

Service 2

java -jar \
target/Distributed-Service-0.0.1-SNAPSHOT.jar \
--spring.application.name=Service-2 \
--server.port=8090