Skip to Main Content
Mastering Distributed Tracing
book

Mastering Distributed Tracing

by Yuri Shkuro
February 2019
Intermediate to advanced content levelIntermediate to advanced
444 pages
11h 36m
English
Packt Publishing
Content preview from Mastering Distributed Tracing

Exercise 4 – tracing RPC requests

I promised at the beginning of this chapter to make this application interesting. So far, it was just a single process and not particularly exciting as a testbed for distributed tracing. In this exercise, we will turn the Hello application from a monolith into a microservices-based application. While doing that, we will learn how to:

  • Trace a transaction across more than one microservice
  • Pass the context between processes using inject and extract trace points
  • Apply OpenTracing-recommended tags

Step 1 – break up the monolith

Our main application internally performs two primary functions: retrieving a person's information from the database and formatting it into a greeting. We can extract these two functions into their ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Distributed Tracing in Practice

Distributed Tracing in Practice

Austin Parker, Daniel Spoonhower, Jonathan Mace, Ben Sigelman, Rebecca Isaacs
Kafka: The Definitive Guide, 2nd Edition

Kafka: The Definitive Guide, 2nd Edition

Gwen Shapira, Todd Palino, Rajini Sivaram, Krit Petty

Publisher Resources

ISBN: 9781788628464Supplemental Content