Developer builds a dry-run mode for the OpenTelemetry Collector — test telemetry without the mess

April 6, 2026
Eyeglasses reflecting computer code on a monitor, ideal for technology and programming themes.
Photo by Kevin Ku on Pexels

What happened

It has been reported that a developer published a detailed post describing how to add a dry-run mode to the OpenTelemetry Collector. The write-up, surfaced on Lobsters and hosted on simme.dev, walks through the motivation, design choices, and practical trade-offs of letting the Collector process telemetry data end-to-end while preventing it from actually shipping to production backends. Simple idea. Big relief for anyone who’s ever worried about accidentally polluting a metrics backend or tracing project.

How it works

Allegedly, the approach intercepts and short-circuits export paths so telemetry can flow through receivers, processors and pipelines but stop before leaving the local environment. The post reportedly includes code examples and discusses pitfalls — batching, stateful processors, and how to keep behavior faithful to production runs so tests are meaningful. In other words: it’s not just a noop; it’s a realistic rehearsal. Nice trick for catching config woes and subtle transformations before they hit a dashboard or incur bills.

Why it matters

Who wouldn’t want a safety net for observability? This is part of a broader push to make infrastructure changes safer and more testable — think feature flags for telemetry. For operators and SREs, a dry-run mode means fewer surprises and fewer “oops” moments when rolling out new pipelines. It has been reported that the author also discusses next steps and potential for upstreaming ideas, which could make this pattern a standard part of the observability toolkit. Try it in staging first — your dashboards (and dignity) will thank you.

Sources: simme.dev, Lobsters