Distributed log tracing in Microservices using Spring Cloud Sleuth with Example | Tech Primers

preview_player
Показать описание
Spring Cloud Sleuth is a Distributed Log Tracing used for tracking logs across microservices. This example simulates it with a Server and Client application.

📌 Related Playlist
================

🎬Video Editing: iMovie

---------------------------------------------------------------
🔥 Disclaimer/Policy:
The content/views/opinions posted here are solely mine and the code samples created by me are open sourced.
You are free to use the code samples in Github after forking and you can modify it for your own use.
All the videos posted here are copyrighted. You cannot re-distribute videos on this channel in other channels or platforms.
#DistributedLogging #SpringCloudSleuth #TechPrimers
Рекомендации по теме
Комментарии
Автор

Does higher version of spring boot and cloud id required to use sleuth ???

naviravindran
Автор

We have requirement to add new key to sleuth logs lets say "guid" apart from traceid, which will be unique per user. Do you have any idea on how we can achieve this?

thetechthirsty
Автор

I tried doing Application A (with Sleuth starter) communicate with Application B (with Sleuth starter), it is not working. It throws Exception Connection refused, In such case if there are multiple micro services calling A->B->C .. there won't be any tracing possible. Any idea how this can be done?

anandkadekar
Автор

Hi there, I tried to use the same project with spring boot 2.3.3.release and hoxton.sr9 and cloud version. But it not working

PankajPatel-gowm
Автор

Informative.. one question: you have created one configuration file for bean RestTemplate but you haven't used that in @Autowired, instead autowired spring's @Autowired. Please let me know why ?

thrinathsf
Автор

Tnk u for good videos. as you are using mac you can have ‘spectacles’ utility for mac which will help in managing window display. U can compare and manage window easily on fingertips. PS: awesome content and clarity.

anwaralam-scln
Автор

Hello Ajay. I have one question here. I have been following other videos where both the client and server spring boot modules are deployed in PCF. May I ask you if we need to specify different port numbers there as well? The reason I am asking is because I can see you have changed the port to 8083 in the server module.

parthanathguitar
Автор

Needed some introductory background before you jumped in to the code

salmanbaig
Автор

Hi, do you have any POC for non boot application. I have a spring MVC application without boot flavor, could you confirm whether sleuth works with out boot ?

rajashekarreddy
Автор

Thanks for tutorial... In project development we will maintain log files then for each microservice project will have separate log files. Can we centralize all files to one location?

DeepakPandey-ijbz
Автор

whats the difference in application property and application yml?

kashif
Автор

hi. nice tutorial... how to upload file with resttemplate? i need file upload micro service. please help.... sorry my bad english

zenhsuld
Автор

properties to yml and 8081 to 8083 , just kill process is ok, stupi

pipe
Автор

please make ur mic louder nxt time. Im on a max volume on my headset and i almost had a mini heart attack when the ads pop-up during the video

janellogrono
Автор

One should know the subject well before recording the tutorial for it. The confusion of presenter around sleuth server start-up failing at port has unnecessarily cluttered the video.
Concise and working examples would be better for audience else you will end up confusing them even more.
Nice try and hope in future your tutorials improve

aviinsolitude