10
Tracing Network Calls
In this chapter, we’ll apply what we learned about tracing in Chapter 6, Tracing Your Code, to instrument client and server communication via gRPC.
We’ll start by instrumenting unary gRPC calls on the client and server according to OpenTelemetry semantic conventions. Then, we’ll switch to streaming and explore different ways to get observability for individual messages. We’ll see how to describe them with events or individual spans and learn how to propagate context within individual messages. Finally, we’ll see how to use our instrumentation to investigate issues.
In this chapter, you’ll learn how to do the following:
- Instrument network calls on the client and server following OpenTelemetry semantic conventions and ...
Get Modern Distributed Tracing in .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.