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

Integration with metrics

There are two types of integrations we are going to review: emitting metrics via tracing instrumentation and partitioning metrics by the request metadata attributes.

Standard metrics via tracing instrumentation

In this section, we will discuss integration with metrics that is somewhat unique to the OpenTracing API. Since OpenTracing is a pure API that describes distributed transactions, without default implementations, it can be implemented to generate data that is unrelated to tracing. Specifically, if we think about a typical metrics instrumentation for an RPC service, we will see that the tracing instrumentation already collects all the same signals as advocated by the RED (Rate, Error, Duration) method [5]:

  • We start a ...
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