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 propagate context over the wire
- Instrument gRPC streaming calls according to your application needs
- Apply telemetry to get insights into network call latency and failure rates and investigate...