An incident happened at 03:10, but logs from the affected pods are missing for 03:05–03:20.
IntermediateScenarioObservability & Telemetry Decisions
Answer
Situation read → A gap during an incident is often caused by the incident itself: pods restarted, nodes died, or the log pipeline was overloaded at the exact moment volume spiked.
What I'd do →
- Check whether the pods were restarted or evicted (container logs vanish with the container):
kubectl get events -n shop --sort-by=.lastTimestamp. - Check the log agent (Fluent Bit / Promtail / OTel Collector) for backpressure, retries, or
droppedcounters. - Check the backend for ingestion limits (Loki
429 Too Many Requestsor rate-limit errors). - Recover what exists:
kubectl logs --previous, node journal, cloud load balancer access logs. - Fix: filesystem buffering on the agent, larger burst limits for incident spikes, and alerts on agent drop counters.
Why → Observability that fails during incidents is the worst kind; the pipeline needs headroom for 10x bursts.
Interview tip → "Monitor the monitoring" — alert on log-agent drops and ingestion errors.
More on Observability & Telemetry Decisions
Your team has metrics and logs but no tracing. A request to checkout fans out to 9 services and nobody can tell where the 2 seconds go. How do you introduce tracing?IntermediateThe monthly observability bill doubled in two months and finance wants it cut by 40%. What do you do?IntermediateA developer adds `customer_id` as a label to a request counter "for better debugging". You catch it in code review. What do you say?BeginnerYou need to pick a trace sampling strategy for a service doing 20,000 requests per second.AdvancedEvery team has built their own Grafana dashboards with different panels. During incidents, nobody can find anything.BeginnerA service's logs are unstructured strings like `Order 123 failed for user 9 after 3 retries`. Searching them during incidents is painful.Beginner