How do you trace latency across microservices?
IntermediateProductionObservability & Day-2 Operations
Answer
Instrument with OpenTelemetry SDKs, propagate W3C traceparent headers, run an OpenTelemetry Collector (DaemonSet or gateway) with tail-based sampling, and store in Tempo/Jaeger/X-Ray. Link traces to logs via trace IDs and to metrics via exemplars, so one slow request leads to its logs and spans.
More on Observability & Day-2 Operations
What are the three pillars of observability and the standard tools on Kubernetes?BeginnerWhat is kube-state-metrics and how does it differ from metrics-server?BeginnerWhich alerts do you set up first on a cluster?BeginnerWhere do container logs live and how do you ship them?BeginnerWhat is the difference between `kubectl logs --previous` and `kubectl logs -f`?BeginnerWhat does a good runbook for a Kubernetes alert include?Beginner