Distributed Tracing in Microservice with Spring Cloud Sleuth & Zipkin | Java Techie

preview_player
Показать описание
This tutorial explain you how to use Sleuth to add tracing information in logs. In addition to that, we can also export this information to Zipkin so that we can visualize this through UI

GitHub:

Blogs:

Facebook Group :

Like & Subscribe
Рекомендации по теме
Комментарии
Автор

Beautiful explaination sir....keep going....I love the way you implement the technical it up sir

sanjaydhikodi
Автор

great work sir, thanks for this informative video

g.raghavendramurty
Автор

Beautiful practical explanation . Thanks @Java Techie

palashkhatri
Автор

Hey Basant,
It is really a helpful tutorial. You are doing a great job! Thanks!
However I've one question:
How does our client application know where is Zipkin server hosted to push the microservice trace details? Where exactly we do this configuration?

For example: we have a GUI (html) from where our execution reaches to controller method. From inside this method we are calling a microservice which internally calls another microservice and the aggregated data is pushed back to frontend. We added logs everywhere but where exactly we let our application know about the zipkin server to push the trace details.

manish.adhikari
Автор

At 23:25 why is the trace id and span id are different even though we call the same micro service

letscih
Автор

When and where you define payment service register or link with zipkin server/tool. So how zipkin knows there is service payment ...can you please explain sir ?

saurabhkailashchandrapuran
Автор

Hi sir,
where it is log files in zipkin Ui, suppose in production any exception occure how to see that Exception log files.

rajeshch
Автор

If we call external microservices ... Do we need to have a bean of alwayssampler in every external service we call or only in the parent service will be enough ?

noumaanmohammad
Автор

Does only has DefaultSampler class . I dont find any other version has this class.

sarojsahoo
Автор

When I changed the port number of zipkin server, traces were not getting added. No configuration was mentioned anywhere regarding port number . Could u plz tell is it mandatory to run on same default port of Zipkin server

i_am_kshitij
Автор

So Both TraceId and Span ID are going to get matched against microservices (ex-If I have 2 microservices)

sarojsahoo
Автор

Sir ...we will have trace I'd and span I'd different in case we are hitting same service again and again. Please correct me if any gap

shilpasingla
Автор

How does payment service recognise the zipping server without mentioning zipkin configuration anywhere in the service?

vijayvantipalli
Автор

And do you know how can we add span Id and trace Id to kafka consumer application which doesn't have any controller?

i_am_kshitij
Автор

Can you please explain, if the Zipkin server application is mandatory to have? Can't we install Zipkin server separately on port 9411 as a Docker container and configure our Payment service application to post traces to that server?

rakeshmalhotra
Автор

Thanks for the video your videos helped me so much, but for this particular video, if you had created a parent mvn proj with two children both of them with only one end point you could show us in a more clear way what is traceId, spanId and parentId. Anyway thank you for your time!

mohammadreza.beygifard
Автор

I have followed your video but I have not receved any traceId and spanId these are null after and before hit to the service

jaffarali
Автор

Sir could you please do video on distributed tracing for kafka based consumer and producer application

manishpeke
Автор

Hi,
When i run zipkin server i am getting below issue and not able to lunch application.
An attempt was made to call a method that does not exist. The attempt was made from the following location:


The following method did not exist:


The method's class, org.springframework.boot.actuate.health.CompositeHealthIndicator, is available from the following locations:
....
Correct the classpath of your application so that it contains a single, compatible version of


Note: I am using spring boot version 2.2.6
In main class it is showing The type EnableZipkinServer is deprecated.


Could you please suggest me how can i resolve these issues.
Thank you !!

gollayellaiah
Автор

HI I tried with spring boot 2.1.0 -RELEASE and not able to see the service in zipking and thre is no samplar in this version can you please help me for spring boot 2.1.0 release with zipkin and rabitMQ with spring cloud stream

NewFactsFictions-