Telemetry resilience

OpenTelemetry Collector: Can Your Monitoring Data Survive an Outage?

A Collector pipeline can queue and retry telemetry, but failures still have limits. Test a counted trace set across a backend outage and Collector restart.

Conceptual test sequence sends counted spans, pauses a backend, restarts a Collector and reconciles arrivals with missing spans.

During an incident, monitoring is part of the evidence engineers use to understand the failure. A working dashboard in normal conditions says little about whether the telemetry pipeline preserves that evidence when its destination becomes unavailable.

On October 21, 2026, OpenTelemetry published Collector binary distributions v0.163.2. The release updates the binaries’ Go version and certificate-authority bundle. It is maintenance of an established project; the resilience mechanisms discussed below are documented Collector capabilities, not features introduced by this patch release.

The Collector receives, processes and exports traces, metrics and logs. A pipeline names its receivers and exporters, with processors where needed. The configuration guide makes an operational detail explicit: defining a component is not enough; it must be included in an enabled service pipeline. Distributions contain different components, so a configuration must be checked against the actual binary selected. Component maturity also varies.

Where data can be lost

OpenTelemetry’s resilience guide describes sending queues, retries and optional persistent storage. A queue gives an exporter space to hold data while its downstream endpoint is unavailable. A retry policy governs how long and how often it attempts delivery. Neither makes the path lossless: a full queue or expired retry window can lose data. An in-memory queue also loses its contents if the Collector process crashes.

The file_storage extension can back a sending queue with persistent storage so queued data can survive a process restart. That introduces a disk dependency; full or failed storage still threatens delivery. A durable message broker is another architectural option for critical paths, but it brings its own failure modes and operating cost. The choice depends on how much interruption the pipeline must withstand and what loss is acceptable.

Our engineering assessment is to measure the behaviour before describing the pipeline as resilient. One small, controlled trace experiment can reveal more than a generic promise about buffering.

A bounded failure test

Choose one instrumented service in a test environment. Select a Collector distribution that contains the OTLP receiver and an exporter compatible with the existing backend. Configure a traces pipeline with those components and disable sampling for the experiment. Set a bounded queue and retry policy, and decide the acceptable delivery delay and loss before testing.

Validate the configuration with the command shown in the project’s documentation, using the correct binary name for the installed distribution:

otelcol validate --config=customconfig.yaml

This checks configuration structure; it does not test the backend’s future availability or prove delivery. Send a known, counted set of test spans with identifiers that can be reconciled at the destination. Make the backend unavailable for a controlled interval, then restore it. Record the input count, received identifiers, missing and duplicate observations, and elapsed delivery time. Monitor queue occupancy, exporter failures and Collector resource use during the interruption.

Repeat with a Collector restart while data is queued. Compare the in-memory configuration with an explicitly configured persistent queue, keeping the storage path and other conditions documented. A restart test is not a substitute for a disk-failure test, and a single successful run does not establish a general guarantee. If upstream senders retry when the Collector cannot accept data, record their behaviour too; that is a separate hop in the delivery path.

The exercise gives capacity planning a concrete basis. Buffer requirements follow measured traffic, expected burst size, retry duration and interruption budget. Expanding the queue indefinitely merely moves pressure into memory or disk. Test the chosen settings under representative load, not only with the small correctness sample.

The opportunity is a pipeline whose failure behaviour can be explained with evidence. Its value is not just that telemetry reaches several backends, but that engineers understand which observations remain available when the monitoring path itself is stressed.

How many missing spans—and how much delivery delay—would your team accept during a backend outage?

Sources