Skip to content

kimsaabyepedersen/sleuth-zipkin-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sleuth-zipkin-demo

This project demos Spring Cloud Sleuth and Zipkin

Start by viewing SLEUTH + ZIPKIN.pdf

SLEUTH

Start sleuth sub project & someapp sub project via their respective main methods:

Call / and /getLocalTime in sluth app from browser and note that (view the logs):

  • RestTemplate calls are instrumented to keep traceId.

  • LogService and DateService create spans themselves

Call /getRemoteTime (will make a call from sleuth app to someapp app) and view the logs, note the traceId in someApp as well.

Zipkin

Start zipkin-demo subproject. Do like above and go to Zipkin url. Note the:

  • Traces

  • The custom event from DateService

  • The dependency tab

Side note: Image credits

Images in the presentation are from:

About

Demo of Spring Cloud Sleuth and Zipkin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages