Interview Prep/Monitoring & Observability/Tracing and OpenTelemetry

Traces show 800 ms of "missing time" between two spans in the same service. What could it be?

AdvancedScenarioTracing and OpenTelemetry
Answer

Situation read → Time spent in uninstrumented work or waiting.

What I'd do →

  1. Check for uninstrumented code: CPU-heavy loops, serialization, local file I/O.
  2. Check GC pauses (JVM jvm.gc.duration, Go GC metrics) at that timestamp.
  3. Check CPU throttling: container_cpu_cfs_throttled_periods_total.
  4. Check thread pool or connection pool waiting.
  5. Use continuous profiling (Pyroscope, Parca) linked to the span to see the stack.

Why → Gaps are evidence of work you cannot see; profiling fills the gap.

Interview tip → Mention span profiles (trace-to-profile) as the modern answer to "missing time".

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Tracing and OpenTelemetry