Interview Prep/Monitoring & Observability/Tracing and OpenTelemetry

Your company has 30 microservices and no tracing. How do you roll out distributed tracing?

IntermediateScenarioTracing and OpenTelemetry
Answer

Situation read → Debugging latency across services is guesswork. Roll out gradually with minimum code changes.

What I'd do →

  1. Standardise on OpenTelemetry (SDKs, OTLP protocol, W3C Trace Context).
  2. Deploy an OpenTelemetry Collector (agent DaemonSet plus gateway Deployment) exporting to Tempo, Jaeger or a vendor.
  3. Start with zero-code auto-instrumentation: Java agent, Python opentelemetry-instrument, Node @opentelemetry/auto-instrumentations-node, or the OpenTelemetry Operator Instrumentation CRD.
  4. Instrument the edge first (gateway, ingress), then the most critical request path.
  5. Add manual spans for business operations later.

Why → Auto-instrumentation covers HTTP, gRPC, DB and messaging quickly; a central collector keeps exporters swappable.

Interview tip → Say "OTel for instrumentation, backend is a separate choice" to show vendor neutrality.

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Tracing and OpenTelemetry