-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e2735fe
commit f2f9955
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
distributed-tracing-spring-boot-opentelemetry-jaeger/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# 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](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 | ||
``` |