Use the Agent Gateway pattern so collectors near workloads forward telemetry to centralized gateway collectors. Run multiple gateway instances behind a load balancer, give each instance separate persistent storage for its queue, and keep batching, retries, and failover enabled. This reduces data loss during node failures, rolling updates, and backend outages while preserving horizontal scalability.
Why production OpenTelemetry Collector availability becomes a security issue
high availability for the OpenTelemetry Collector is not only an uptime concern. It directly affects whether telemetry remains continuous enough for detection, audit, incident response, and service health decisions. When collectors fail, organisations can lose traces, logs, or metrics at the exact moment they need them most, which weakens visibility into abuse, outages, and configuration drift. The operational design choice is therefore about preserving observability under failure, not just keeping a process alive.
For teams designing collector resilience, the important question is where telemetry should survive interruption and where it can be safely buffered or retried without creating unacceptable delay. NIST SP 800-53 Rev. 5 Security and Privacy Controls provides useful control language for system resilience, logging, and contingency-aware operations, even though it does not prescribe an OpenTelemetry architecture. In practice, many teams discover collector fragility only after a node drain, backend outage, or queue saturation has already created a telemetry gap.
How a resilient collector tier behaves in production
A production-grade collector tier should separate ingestion continuity from local host dependence. The common pattern is to run local collectors close to workloads for minimal overhead, then forward telemetry to a more durable gateway layer that can absorb failure, scale independently, and standardise policy. That gateway layer is where availability decisions matter most: multiple instances, a load balancer, and storage isolation prevent one failed instance from becoming a full observability outage.
Persistence is especially important for queued data. If a collector only buffers in memory, any restart, node failure, or pod eviction can drop telemetry that has not yet reached the backend. Durable queues reduce that risk, but they also create a new operational dependency: storage must be correctly sized, monitored, and failure tested. Retries and batching help smooth transient backend problems, but they do not remove the need for capacity planning. A retry policy that is too aggressive can amplify pressure on downstream systems, while one that is too weak can turn short outages into data loss.
A practical availability design usually combines several behaviours:
- Multiple gateway collectors behind a load balancer so traffic can move away from unhealthy instances.
- Separate persistent storage per instance so queue corruption or saturation stays contained.
- Retry and batching settings that tolerate brief backend interruption without overloading the pipeline.
- Failover behaviour that keeps telemetry flowing when one collector, node, or zone becomes unavailable.
The key operational point is that high availability is only real when the buffering layer, the network path, and the storage path are all treated as failure domains. If any one of those depends on a single node or shared writable volume, the design stops being meaningfully resilient.
Where collector availability designs become fragile
Tighter reliability often increases operational overhead, requiring organisations to balance reduced telemetry loss against storage management, configuration complexity, and recovery testing. The most common edge case is shared state. When multiple collectors share the same backend queue, volume, or filesystem assumptions, a single storage fault can affect every instance at once, which defeats the purpose of horizontal scaling.
Another nuance is that not every telemetry path needs the same durability. Security logs that support incident response usually justify stronger buffering and more conservative failover than low-value diagnostic signals. That distinction is often debated in practice, because teams disagree on whether all telemetry should receive the same level of protection. The consensus is not uniform, but the sensible rule is to align durability with business and security value rather than treat every signal identically.
Collector high availability also breaks down when teams assume retries alone are enough. Retries help with temporary backend instability, but they do not solve long-lived outages, persistent misconfiguration, or undersized queues. For that reason, the design should be validated under realistic fault conditions, including node loss, backend unavailability, and rolling restarts, not just under steady-state load.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST CSF 2.0 | PR.IP-4 — Backups and Recovery | Collector queues and telemetry state need recovery-oriented design. |
| DE.CM-7 — Monitoring for Unauthorized or Unusual Activity | Collector health and telemetry continuity are critical monitoring dependencies. | |
| RS.CO-2 — Communications | Reliable telemetry delivery supports incident communication and coordination. | |
| Recommendation — Design collector buffering so telemetry can survive restart and outage scenarios. Monitor collector availability and alert on gaps in telemetry flow. Preserve telemetry paths so incident responders retain usable visibility. | ||
| CIS Controls v8 | 8 — Audit Log Management | The collector is a key control point for log transport and retention. |
| 12 — Network Infrastructure Management | High availability depends on resilient network routing and failover. | |
| 1 — Inventory and Control of Enterprise Assets | Collector instances, storage, and dependencies must be tracked to manage resilience. | |
| Recommendation — Protect log delivery paths so audit data is not lost during outages. Harden the collector network path and eliminate single points of failure. Inventory collector components so ownership and failure domains stay clear. | ||
Practitioner Guidance
What to prioritise: Design for telemetry continuity across node failure, backend interruption, and planned maintenance before you tune for throughput. Availability objectives should be driven by the telemetry types that security, SRE, and platform teams actually rely on during incidents.
What to verify: Confirm that queue state survives the failure you most expect to occur in production, not just a container restart. If persistent storage is shared or loosely isolated, treat that as a material single point of failure rather than a minor implementation detail.
What good looks like: A failed gateway instance should reduce capacity, not erase visibility. Teams should be able to observe steady backpressure, controlled retry behaviour, and bounded data loss only in the rare cases where the pipeline has exhausted its recovery options.
Common mistake: Treating load balancing as sufficient by itself. A balanced fleet with fragile local storage, weak retry settings, or no failure testing can still lose telemetry at the first meaningful outage.
Practitioner takeaway: The right availability design is the one that preserves useful telemetry through the failures you can actually model, not the one that merely looks horizontally scalable on paper.
Related resources from NHI Mgmt Group
- How should security teams design syslog for high-availability logging?
- How should security teams decide whether JIT access is safe for non-human identities?
- How should security teams design account verification for high-risk onboarding?
- How should security teams govern OpenTelemetry agents in production?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on September 7, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org