Interview Prep/Monitoring & Observability/Tracing and OpenTelemetry

Can you get traces from services you cannot modify at all?

AdvancedScenarioTracing and OpenTelemetry
Answer

Situation read → Third-party binaries or legacy apps with no SDK.

What I'd do →

  1. Use eBPF-based instrumentation (Grafana Beyla/OpenTelemetry eBPF instrumentation, Pixie, Cilium Hubble) for HTTP/gRPC spans and RED metrics.
  2. Use a service mesh (Istio, Linkerd) that emits spans from sidecars; the app still must forward trace headers for a connected trace.
  3. Trace at the edges you control (gateway, DB proxy).

Why → eBPF observes syscalls and network traffic without code changes.

Interview tip → Mention the limitation: without header forwarding inside the app, mesh spans are disconnected.

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Tracing and OpenTelemetry