OpenTelemetry 00:00:01 One lost order crosses two services An order arrives at a florist. The shop accepts payment, but stock cannot reserve the bouquet. Priya wants the two services to tell one intelligible story. OpenTelemetry provides instrumentation, context propagation and a protocol for exporting those observations. No header came in, so shop makes a new trace id. The SDK writes traceparent into the outgoing request. Stock reads it and starts a child span in the same trace. The response can return while finished spans wait in bounded queues. Successful checkout behavior and successful telemetry export are separate outcomes. In this example each exporter batches before sending over the OpenTelemetry Protocol. The batch delay is a configuration choice. The shop and stock service create separate spans inside one trace. Their identifiers establish the relationship even if the two export batches reach the collector in opposite order. 00:00:59 Inspect what leaves the florist Priya places a Collector between the applications and their observability backends. Follow one batch through a configured pipeline rather than assuming every service sends directly to every destination. A service sends spans over OTLP to the Collector on its host. The memory limiter can refuse data under pressure. Whether that data arrives later depends on the upstream exporter and its retry or buffering behavior. A processor removes the authorization attribute before the batch leaves the controlled environment. Small pieces become one large request. The same batch goes to two backends. Processing order matters. Protect sensitive attributes before fan-out, and test telemetry at the receiving end. Four correct application spans can still be transformed or rejected on the way there. 00:01:49 A small label choice multiplies Now measure florist requests. Twenty normalized routes make twenty possible series when the remaining attributes are fixed. Every additional dimension can multiply the combinations that must be represented. 20 routes, 20 series. Four methods across twenty routes give eighty possible combinations. Some combinations might never appear. Times 5. Still far below 2,000. With four methods and five status classes, the example permits four hundred combinations. Ask whether an unbounded customer identifier belongs in a metric before enabling it during a holiday rush. 00:02:26 Keep a trace together for a late decision Suppose the florist keeps traces containing an error. An error may arrive on a later child span, so a tail decision must assemble the trace where the decision is made. With a round-robin split, different decision makers see different fragments of the same trace. Layer 1 uses the trace id, so trace 1 goes to A. Trace 2 goes to B. Under the illustrated policy, a trace with the stock error is retained and the ordinary trace may be dropped. Route by trace identifier to the deciding layer and budget its memory and decision window. Missing spans or very late arrivals can still change the evidence available to a sampler. 00:03:06 The bouquet is delivered while telemetry waits What if the storage backend stops answering on the busiest morning? The applications can finish real orders while their observability pipeline queues or loses the corresponding evidence. Batches go out as they come. The Collector tries again, with growing pauses. New batches wait. With this bounded retry horizon and queue, eventually a batch is abandoned and incoming data can be rejected. The timeout shown belongs to this configuration. With file storage and a longer retry time the queue survives a restart and a longer outage. A persistent queue is useful only while its storage survives and enough capacity remains. Priya now tests a trace through both services, the redaction rule, sampling affinity, and a real backend outage.