Free forever, no credit card.Get Started for Free →
← All posts
December 4, 2026 · 6 min read

Does the OpenTelemetry Collector Remember Between Runs? Only What a Storage Extension Saves.

Does the OpenTelemetry Collector Remember Between Runs? Only What a Storage Extension Saves. The OpenTelemetry Collector sits in the middle of a telemetry pipeline, receiving traces, metrics, and logs, processing them, and exporting them onward. It restarts for upgrades, config changes, and redeploys, and each restart raises the same practical question: what does the Collector still know when it comes back up? The honest answer is conditional. By default, almost nothing survives. With one exten

Does the OpenTelemetry Collector Remember Between Runs? Only What a Storage Extension Saves.

The OpenTelemetry Collector sits in the middle of a telemetry pipeline, receiving traces, metrics, and logs, processing them, and exporting them onward. It restarts for upgrades, config changes, and redeploys, and each restart raises the same practical question: what does the Collector still know when it comes back up? The honest answer is conditional. By default, almost nothing survives. With one extension configured, two specific things do.

The default: state lives in memory, and memory ends at restart

Most Collector state is held in memory while the process runs. A receiver tracking where it stopped reading a log file keeps that position in memory. An exporter holding data that a backend has not accepted yet keeps that queue in memory. A processor buffering spans while it decides whether to keep a trace keeps those spans in memory.

Restart the process and all of it goes. That is not a flaw in the design. The Collector was built as a fast, stateless relay, and in-memory state is the fastest kind. But it means the phrase "between runs" has a sharp edge for the Collector: unless a component was explicitly given somewhere durable to write, a restart is a reset.

File offsets: saved only when a storage extension is configured

The clearest example is the filelog receiver, which tails log files and parses each line into a log record. While it runs, it tracks per-file state: a fingerprint computed from a file's first bytes, so a rotated or renamed file is still recognized, and a byte offset marking where reading should resume.

Those offsets are persisted only when the receiver's storage setting points at a storage extension. Without one, offsets stay in memory, and after a restart the receiver falls back to its start_at setting, which defaults to end. That default skips whatever was written while the Collector was down. Set start_at to beginning instead and the restart re-reads files from the start, trading gaps for duplicates. Neither fallback is memory. Both are what a system does when memory is missing.

With a storage extension configured, the same receiver picks up where it left off, because the fingerprint and offset were written to disk before the shutdown and read back on startup.

The persistent queue: telemetry in flight, held on disk

Exporters face the mirror problem on the way out. When a backend slows down or goes away, an exporter queues the data it could not deliver and retries. The default queue is in memory, so a restart during an outage discards exactly the data the outage put at risk.

Pointing the exporter's sending_queue at a storage extension changes that. The queue becomes persistent: batches are written to disk as they arrive at the exporter, they remain on disk across a restart, and exporting resumes when the Collector returns. The commonly used file storage extension stores this state in bbolt, an embedded key-value database on the local filesystem, in a directory the operator chooses.

Notice what the persistent queue remembers. It remembers telemetry: the spans, metrics, and log records that were waiting for delivery, in the order they arrived. It does not remember anything about what that telemetry meant, which alerts already fired from it, or what anyone decided to do about it.

Sampling decisions and processor state: gone either way

Some state has no durable option at all. A tail sampling processor, for example, buffers the spans of incoming traces in memory while it waits to see how each trace turns out, then keeps or drops the trace as a whole. That buffer is the decision. Restart mid-wait and the buffered spans and the reasoning forming around them disappear together; there is no storage setting that carries a half-evaluated trace across a restart.

The pattern holds across the Collector. Configuration is re-read from the file on every start, so the pipeline's instructions survive perfectly. Data in flight survives if, and only if, an operator wired a storage extension to the component carrying it. Interpretations survive nowhere, because the Collector never stores them in the first place.

Where the automation around the Collector goes blind

A Collector rarely works alone. Around it sits a scheduled chain: telemetry lands in a backend, an AI step summarizes the errors and anomalies, a ticket opens or updates, a channel gets notified, and someone or something decides what deserves attention next. The Collector's storage extension covers the transport slice of that chain. The decision slice restarts cold.

An AI step reviewing this morning's error spike receives the new telemetry and a static prompt. It does not automatically receive yesterday's conclusion, the false positive already ruled out, the explanation already sent to the team, or the instruction an operator added after the last incident. Teams patch the gap with runbooks and prompt text that someone must remember to keep current, and the patch fails the moment a different tool runs the next step and cannot read any of it.

That is the line worth drawing. Offset memory prevents re-reading or skipping files. Queue memory prevents losing data during an outage. Neither gives a set of automations one shared memory that survives across runs and across tools.

One shared memory for the automations around the Collector

That shared layer is what Vilix AI provides. Vilix AI is cloud-hosted with zero infrastructure to run, so an automation gains a memory without gaining another database or another directory on a host to protect. The same memory is reachable everywhere over MCP, so the workflow that summarizes telemetry, the assistant that investigates it, and the agent that follows up can all read and write one context instead of three separate ones.

Vilix AI keeps full conversation history, not just extracted facts. For an automation operator that distinction is concrete: the exact wording of an earlier decision, the order in which a diagnosis changed, and the reason an alert threshold was adjusted remain available to the next run, instead of being flattened into a summary that may drop the one detail that matters.

Getting started carries no commitment. Vilix AI offers a free plan forever and a 7-day Pro trial with no card required, and data can be exported or deleted at any time. A practical first step is small: have each run save its closing findings, so the next run opens with them instead of reconstructing them.

So, does the OpenTelemetry Collector remember between runs? Only what a storage extension saves: a file offset and a queue of undelivered telemetry, and only when an operator configured it. Everything an automation needs beyond transport still needs a home of its own. Give that home one address every tool can reach, and the next run stops starting blind.

Get Started for Free

Persistent memory across ChatGPT, Claude, and the AI tools you already use in Vilix AI.

Get Started for Free

Free forever, no credit card.

Keep reading
Does Grafana Alloy Remember Between Runs? A Positions File and a WAL Hold the Data. Nothing Holds the Decisions.

Does Grafana Alloy Remember Between Runs? A Positions File and a WAL Hold the Data. Nothing Holds the Decisions. Grafana Alloy is the telemetry collector that replaced Grafana Agent: one process, built from components wired into pipelines, collecting metrics, logs, traces, and profiles and forwarding them to wherever they belong. It restarts constantly in real deployments, for config reloads, upgrades, and pod rescheduling. So the practical question is precise: when Alloy comes back, what does

Does Fluent Bit Remember Between Runs? A SQLite File Holds the Offset. Nothing Holds the Reasoning.

Does Fluent Bit Remember Between Runs? A SQLite File Holds the Offset. Nothing Holds the Reasoning. Fluent Bit is the small telemetry agent that sits on hosts and in clusters, tailing log files, receiving metrics and traces, and forwarding everything onward. It is built to be lightweight and to keep moving. When the process restarts for a deploy, a config reload, or a node rebuild, a precise question follows: what did it actually keep? The answer is well documented, genuinely useful, and much n

Does Benthos Remember Between Runs? Its Caches Hold Keys. Not the Reasoning.

Does Benthos Remember Between Runs? Its Caches Hold Keys. Not the Reasoning. Benthos, now Redpanda Connect after Redpanda acquired the project in 2024, moves data between systems: an input reads messages, processors transform them, and an output delivers them somewhere else. It can run for weeks as a quiet background pipeline. Then the process restarts for a deploy, a config change, or a host rebuild, and an operator faces a plain question: what, exactly, did the pipeline keep? The honest answe