How To Do Distributed Tracing With Opentelemetry in Spring Boot

Опубликовано: 04 Август 2026
на канале: Refactor First
24,628
390

In this video we will look into how we can capture distributed traces that are generated as part of communication between service.
We will use Opentelemetry standards to export the traces from a Spring boot Application and the visualize the traces on a Jaeger dashboard.
We will start the Jaeger dashboard using the docker image using docker compose.


You can also read about this along with the GitHub link to the code: https://refactorfirst.com/distributed...

You can support me by buying me a coffee : https://www.buymeacoffee.com/amrutprabhu

-----------------
Gear I use :
-----------------
Sony Alpha a6000 : Amazon India : https://amzn.to/3RM7QMJ
Germany : https://amzn.to/3G1Iw24
US : https://amzn.to/3cpKZ9E
UK : https://amzn.to/3J0g5Ry


Razer Microphone : Amazon India : https://amzn.to/3aQxI9C
Germany : https://amzn.to/3DRRrAh
US : https://amzn.to/3ITKu3Q
UK : https://amzn.to/3v3RHbU
------ Chapters --------

00:00 - Introduction
01:32 - Creating Spring Boot 3 Application
02:02 - Code Walkthrough
03:20 - Jaeger Docker Compose with Opentelemetry
03:55 - Code Walkthrough
05:17 - Opentelemetry Configuration
05:48 - Opentelemetry Url and Tracing Configurations
06:41 - Starting Jaeger Docker image
07:14 - Starting Two Services
08:05 - Generating Distributed Traces
08:45 - Distributed Traces in the Logs
09:16 - Visualizing Distributed Traces in Jaeger
10:21 - Article link and Code repo
10:29 - Conclusion


Music Credits:-
Sappheiros - promise
----------------------------
Social Media
YouTube    / sappheiros  
Spotify goo.gl/hE9MDJ
Twitter twitter.com/SappheirosMusic
Instagram instagram.com/sappheirosmusic
Facebook facebook.com/SappheirosMusic
Discord discord.gg/Pk87yN9
  / promise  
--------------------------------------------------