Distributed Tracing

Tracing for Several Functions you own this product

This project is part of the liveProject series Distributed Tracing with Jaeger, Kubernetes, and Istio
prerequisites
intermediate Java and Spring Boot • basics of Jaeger
skills learned
instrument tracing inside multiple functions in a microservice using OpenTracing API and Jaeger SDK • pass down the current active span to the next function in a call flow using ScopeManager • set the relationship between a child Span and a parent Span
Huabing Zhao
1 week · 2-4 hours per week · BEGINNER

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside
In this liveProject, you’ll instrument tracing in multiple functions of a call flow inside a single microservice. By instrumenting multiple trace functions, the generated traces are far more meaningful than just a single function. Once you’ve established your tracing code, you’ll use a thread-local mechanism to pass the current active span to the next function so that the spans can be pieced together. Finally, you’ll generate a trace having spans in it representing each function the request goes through.
This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

Huabing Zhao
Huabing Zhao works as a senior engineer at Tencent Cloud. He has a solid experience in the information and telecommunication technology industry for more than 10 years.Throughout his career, he has built a number of large-scale, cross-country software systems, most of them are still running in production. He loves open source and has been contributing to various open source projects. He is a member of Istio, previous Project Team Leaderof ONAP, the author of the Hugo clean-white theme and the open source project Aeraki. He has strong interests in various technical areas including Cloud Native, Artificial Intelligence, Cryptocurrencies, Smart Home, etc.

prerequisites

This liveProject is for experienced Java developers who are also confident users of Docker. To begin this liveProject, you will need to be familiar with:

TOOLS
  • Intermediate Java
  • Intermediate Spring Boot
  • Intermediate Docker
  • Basics of Jaeger
TECHNIQUES
  • Basics of OpenTracing

you will learn

In this liveProject, you’ll get hands-on experience instrumenting multiple functions in a call flow and connecting these spans as a trace.

  • Instrument tracing inside multiple functions in a microservice using OpenTracing API and Jaeger SDK
  • Pass down the current active span to the next function in a call flow using ScopeManager
  • Set the relationship between a child Span and a parent Span
  • Build a Docker image for deployment
  • Run Jaeger with Docker

features

Self-paced
You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.

choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Tracing for Several Functions project for free