TL;DR: Production OpenTelemetry Collector pipelines are governed by processor order, sampling, enrichment, and backpressure decisions that determine cost, reliability, and whether critical traces survive, according to Sawmills. The real risk is not collector failure but misconfigured policy, where defaults quietly shape telemetry quality and spend.
At a glance
What this is: This analysis says the OpenTelemetry Collector is a policy engine in production, and that processor order, sampling, enrichment, and backpressure determine what telemetry reaches the backend.
Why it matters: For observability and security teams, the collector’s configuration shapes incident visibility, cost, and evidence retention, so it needs governance like any other production control surface.
Context
OpenTelemetry Collector deployments often fail not because the software is unstable, but because teams treat it like a passive forwarder instead of a control point. In production, the collector decides what gets enriched, dropped, batched, sampled, or buffered before data reaches a backend, and that makes it part of telemetry governance.
The identity angle is indirect but real for IAM and NHI programmes because traces, logs, and metrics are often the evidence used to investigate access abuse, workload behaviour, and service-account activity. If the collector loses or distorts that evidence, downstream incident analysis and control validation both suffer.
Key questions
Q: What fails when OpenTelemetry Collector pipelines keep default processor ordering?
A: The pipeline can still run while silently producing the wrong telemetry outcome. Enrichment may happen too late for filters, batching may waste effort before decisions are made, and memory protection may come after expensive work. The result is higher cost, less useful data, and traces that never survive to investigation time.
Q: Why do collector sampling decisions affect incident response quality?
A: Because the collector is the last practical place to decide whether a trace, log, or metric is worth keeping. If tail sampling, filtering, or drop rules are wrong, the evidence needed for incident reconstruction never reaches the backend. Once discarded upstream, that telemetry is usually gone for good.
Q: Where does collector governance fail in practice?
A: It fails when teams assume the backend will clean up noisy telemetry, when in fact the collector has already decided what to keep. Default pipelines often preserve too much low-value data and too little incident context, which means cost rises while visibility into privileged or anomalous behaviour gets worse.
Q: What should teams do when telemetry pipelines need both cost control and forensic value?
A: Use a central policy boundary to keep high-value traces and drop routine noise, then validate that the pipeline preserves complete traces under load. The practical test is whether investigators can still reconstruct access or service behaviour after a peak event, not whether dashboards look full.
Technical breakdown
Processor order controls telemetry policy and cost
The OpenTelemetry Collector executes processors in the order they appear in the pipeline, and that order determines both correctness and cost. Memory protection, enrichment, filtering, transformation, and batching are not interchangeable steps. If enrichment happens too late, filters cannot see the attributes they need. If batching happens too early, later processors waste work. The collector is therefore closer to a policy engine than a relay: each ordered processor changes the shape, volume, and meaning of the telemetry before export.
Practical implication: Treat processor order as a production control decision and review it whenever you add enrichment, sampling, or filtering logic.
Sampling and filtering decide what evidence survives
Filtering and sampling are the collector’s main cost and signal controls. The filter processor removes known-noisy telemetry, transform can delete high-cardinality attributes before they become expensive, and tail sampling keeps the traces most likely to matter by waiting for spans to complete. That design matters because head-based sampling cannot see the full trace outcome, while tail sampling requires enough memory and trace cohesion to make a useful decision. In practice, the collector is deciding which evidence remains available after the fact.
Practical implication: Place retention rules upstream of the backend and align them to incident value, not just storage cost.
Deployment topology limits which controls are usable
Collector topology shapes what the pipeline can do. An agent can handle node-local collection and cheap filtering, a gateway can centralize policy enforcement and tail sampling, and sidecars trade isolation for resource overhead. Tail sampling is especially constrained because all spans for a trace must land on one collector instance before a decision can be made. That means scaling out without trace-aware routing can fragment the data and undermine the very control the team thought it had deployed.
Practical implication: Choose agent, gateway, or sidecar based on the control you need, then validate that trace routing preserves whole traces end to end.
Threat narrative
Attacker objective: The operational objective is not intrusion but control failure: to leave defenders with incomplete telemetry, higher cost, and weaker incident reconstruction.
- Entry occurs when teams deploy a default collector pipeline and assume the backend will handle governance that actually belongs in the collector.
- Privilege-like control is then exercised through processor ordering, enrichment, sampling, and batching, which determine whether telemetry is preserved, transformed, or discarded.
- Impact shows up as missing incident evidence, inflated ingest bills, and collectors that fail under load because the policy path was never designed for production conditions.
Breaches seen in the wild
- ArtiPACKED 2024: Unit 42 found public GitHub Actions artifacts in major open source projects leaking live GITHUB_TOKENs, runtime tokens and cloud tokens.
- reviewdog Action compromise 2025: A stolen maintainer token poisoned reviewdog/action-setup, leaking CI secrets including the tj-actions bot token used in the next attack.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Telemetry governance is now a production control problem, not an observability tuning exercise. The collector determines what evidence survives long enough to support incident response, cost control, and service assurance. That makes processor order, sampling logic, and buffering policy part of operational governance, not just platform engineering. Practitioners should treat collector policy as a security-adjacent control surface with named owners and review cycles.
Collector defaults create a hidden governance gap: teams think data flows, but policy silently decides what never arrives. That gap matters because defaults usually optimise for demo success, not incident fidelity or cost discipline. In identity-heavy environments, missing trace context can obscure workload abuse, privileged service behaviour, and access anomalies. Practitioners should assume that ungoverned collector pipelines will drift toward noise, expense, and blind spots.
Agent and gateway topology changes the control boundary for telemetry retention. Once tail sampling or trace-aware policy depends on a central gateway, resilience and routing become part of evidence preservation. That means observability architecture decisions now influence forensic quality, especially where machine identity events or service-account activity are under review. Practitioners should validate that the topology can preserve complete traces before relying on it for investigations.
Cardinality control is the named concept this article sharpens: unbounded attributes turn telemetry into a cost and governance liability. The article shows how a single key such as user_id can multiply time series and distort spend without improving signal. That is a data-governance problem inside observability. Practitioners should classify high-cardinality fields as governed telemetry attributes, not harmless metadata.
What this signals
Collector policy should be treated as part of the organisation’s evidence chain. When the pipeline is allowed to decide what to keep without explicit governance, incident teams inherit blind spots that were created upstream, not in the backend. That is especially important when traces are used to validate service-account activity or workload behaviour.
OpenTelemetry pipelines need the same control discipline as any other production security-adjacent system. Processor order, retention logic, and routing rules are configuration choices with operational consequences, and they should be reviewed as such. Teams that leave those choices to defaults will usually optimise for convenience, not for resilience or investigation quality.
For practitioners
- Define processor order as a governed control Place memory protection, enrichment, filtering, transformation, and batching deliberately, then document why that order supports signal quality and resource safety.
- Move noise filtering upstream of export Drop health checks, readiness probes, and other routine noise before telemetry reaches the backend so you are not paying to store known-low-value data.
- Cap high-cardinality attributes before they spread Remove or normalise fields such as user_id and request_id at the collector when they would explode metric series or add no incident value.
- Use trace-aware routing for tail sampling Ensure spans for the same trace land on the same gateway instance before sampling so whole traces are kept or dropped as a unit.
- Scale on collector pressure signals, not CPU alone Track queue depth, memory, and export backpressure because telemetry workloads often fail before CPU saturation becomes visible.
Key takeaways
- The article’s core message is that the OpenTelemetry Collector is not just transport plumbing, it is where telemetry policy is enforced.
- Processor order, sampling, and enrichment determine whether the right traces survive long enough to support incident response and cost control.
- Teams should govern the collector as a production control surface, then validate that their topology still preserves complete traces under load.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK addresses the attack and risk surface, while 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.DS-01 — Data-at-Rest | Telemetry retention and filtering affect whether operational data is preserved or dropped. |
| PR.AA-05 — Access Permissions, Entitlements and Authorizations | Collector topology and routing determine which components can handle which telemetry paths. | |
| Recommendation — Treat telemetry retention and filtering as governed data-handling controls before export. Restrict collector paths and privileges to the minimum required for each pipeline stage. | ||
| MITRE ATT&CK | TA0007;TA0010 — Discovery; Exfiltration | The article focuses on preserving or losing telemetry that supports detection and investigation. |
| Recommendation — Map missing telemetry and delayed export to discovery and exfiltration gaps in your detection model. | ||
| CIS Controls v8 | CIS-13 — Network Monitoring and Defense | Collectors shape the monitoring data that security and operations teams rely on. |
| Recommendation — Use collector policy to improve monitoring fidelity and reduce low-value telemetry volume. | ||
Key terms
- OpenTelemetry Collector: A configurable service that receives telemetry, processes it, and exports it to one or more back ends. It acts as the central routing layer for metrics, logs, and traces in a vendor-neutral observability pipeline.
- Trace Sampling: Trace sampling is the practice of recording only a subset of traces to control overhead and scale observability systems. It reduces volume, but it can also obscure rare failures if context is not preserved consistently. Good sampling design balances cost with enough fidelity to diagnose authentication and routing issues.
- Telemetry Cardinality: The number of unique combinations created by metric or log attributes. High-cardinality fields, such as user IDs or request IDs, can multiply storage cost and make observability data harder to manage without improving investigative value.
- Backpressure: Backpressure is the mechanism used to slow or control producers when consumers or brokers cannot safely absorb more traffic. In governance terms, it helps protect platform stability and prevents noisy or misbehaving clients from overwhelming shared event infrastructure.
Deepen your knowledge
NHI Mgmt Group’s NHI Foundation Level course covers NHI governance, workload identity, and secrets management in a practitioner-focused format. It is built for security teams that need to connect identity controls to operational risk and evidence quality.
Published by the NHIMG editorial team on August 19, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org