Replacing the Zipkin server with Istio’s Jaeger component
As mentioned in the Introducing Istio section, Istio comes with built-in support for distributed tracing using Jaeger. Using Jaeger, we can offload and simplify the microservice landscape in Kubernetes by removing the Zipkin server we introduced in Chapter 14, Understanding Distributed Tracing. We will also change the way trace and span IDs are propagated between the microservices from using the default W3C trace context headers to using OpenZipkin’s B3
headers. See the Introducing distributed tracing with Micrometer Tracing and Zipkin section of Chapter 14, Understanding Distributed Tracing, for more information.
The following changes have been applied to the source code:
- The following dependencies have been replaced in all microservice build files,
build.gradle
:implementation 'io.micrometer:micrometer-tracing-bridge-otel' implementation 'io.opentelemetry:opentelemetry-exporter...