Interview › Istio & Service Mesh
How does Istio enable distributed tracing, and what is required from the application?
Istio & Service Mesh · Intermediate level
Answer
Istio enables distributed tracing by integrating Envoy with tracing backends such as Zipkin, Jaeger, OpenTelemetry collectors, or vendor systems. Envoy can create spans at proxy boundaries, but applications must propagate trace headers for a complete trace across services.
Technical explanation
Without header propagation, each service may create separate traces that cannot be stitched into one transaction.
Common headers include traceparent, b3, x-request-id, and related context depending on the tracing stack.
Sampling policy should balance troubleshooting value with storage and performance cost.
Hands-on example
Hands-on flow:
1. Configure Istio tracing provider to send to an OpenTelemetry Collector.
2. Ensure app framework propagates W3C traceparent or B3 headers.
3. Call frontend -> checkout -> payments.
4. Open the tracing backend and verify one trace contains spans for all three services.
Check how well your resume matches the role with our free resume checker— match score, ATS check, and the skills you're missing.
More Istio & Service Mesh interview questions
- How does Istio integrate with Prometheus for metrics?
- What telemetry does Istio provide out of the box (metrics, logs, traces)?
- What is the typical latency and resource overhead of the sidecar, and how do you minimise it?
- How does Istio issue and rotate workload certificates (SPIFFE/SPIRE concepts)?
- How does Istio enable a Zero Trust posture inside the cluster?
- How do you use istioctl proxy-config and proxy-status to debug Envoy?
- What does istioctl analyze do?
- How do you debug mTLS handshake failures between two services?