Jaeger (Distributed Tracing) 00:00:01 A payment vanishes inside a six-hundred-millisecond request The customer sees one spinning checkout button. Behind it, a web process calls a payment service. Jo needs to discover which operation consumed the time. An instrumented service starts a trace for this request and creates a span to describe its own operation. The outgoing call propagates trace context. Payment extracts it, keeps the trace identifier and gives its new child span a different span identifier. Parent links distinguish this payment from another customer's call at the same instant. The customer need not wait for trace storage. Instrumentation exports completed spans, often in batches, and the collection path sends them to storage. Jaeger's query interface can later reconstruct the trace by identifier. Arrival order at storage does not determine the operation order. 00:00:48 Follow elapsed time into the bank call Jo finds the slow checkout. Its root spans six hundred milliseconds. Two non-overlapping children account for eighty and four hundred sixty. Sixty milliseconds remain outside the children. That arithmetic relies on the time intervals shown here. The four-hundred-sixty-millisecond payment span contains a bank call lasting four hundred twenty. Only forty milliseconds sit outside that child. A long enclosing span tells us where to open the trace. It does not by itself identify which process spent the time. The bank-call span has no recorded children. Investigate that boundary next, including network and downstream service time. For overlapping siblings, measure the union of their covered intervals. Subtracting every duration separately can make a parent's apparent self time negative. 00:01:36 Choose at the beginning or wait for evidence Jo cannot afford to retain every routine checkout. A head sampler decides near the start. The sampled decision can propagate downstream so the services agree about which request to record. This is inexpensive before much trace data exists. A request that looked ordinary at entry fails in payment. If it was never recorded, its later error cannot bring back the missing spans. Increasing a probability helps coverage while increasing traffic and storage. A tail sampler buffers incoming spans long enough to evaluate a trace-level rule. It can keep an observed error or slow request. Send spans for the same trace to the same deciding collector. Memory, wait time and late spans now become part of the sampling cost. 00:02:22 Separate temporary buffering from durable delivery During regular ticket sales, the collectors can write incoming spans promptly. A small queue absorbs ordinary timing differences. Measure arrival rate and accepted storage throughput before predicting what happens at the opening bell. In the surge, storage drains more slowly than spans arrive. A bounded memory queue fills. Telemetry can be dropped while the checkout itself continues. Missing traces are therefore poor evidence that no slow request occurred. An optional Kafka buffer can decouple collection from storage writes. After the rush, ingestion must exceed the current arrival rate to reduce the accumulated backlog. Choose capacity and retention for a realistic outage. A durable queue postpones an overload, but cannot erase it. 00:03:14 Test the missing parent before trusting the chart Jo now sees a web span and a separate payment trace for what should be one checkout. Look at the boundary between those services. A hand-written client omitted the outgoing trace context. Payment starts its own root because it receives no parent. Both traces may individually look fine. Matching timestamps can suggest a relationship but cannot reliably reconstruct a parent, particularly with many customers paying simultaneously. Instrument the client and repeat a controlled checkout. The payment span now links to its actual web parent. Jo can follow the four-hundred-twenty-millisecond bank call, price a sampling policy, and detect missing telemetry without confusing it with missing customer activity.