Troubleshooting dropped data in the OpenTelemetry Collector

Telemetry missing from your backend usually disappears at one of a few Collector stages. This page shows how to locate the loss point and apply the fix for each.

On this page

Why OpenTelemetry Collector drops data and how to find where

When dashboards or traces show gaps, the first task is to find which stage lost the data, because the Collector's loss points are different from the application's. The Collector receives telemetry through receivers, runs it through processors such as the memory limiter and batching, and sends it out through exporters, with queues and retries in between. The OpenTelemetry Collector docs describe this receive, process and export path, and the Collector configuration docs show where each component sits in a pipeline. Loss can happen at any of these points, and each leaves different evidence, so the investigation starts by asking whether data was refused on the way in, dropped during processing, or rejected after it left the Collector.

This troubleshooting matters most when telemetry is business or security evidence and a gap is noticed only later, or when a backend reports fewer points than the applications emit. It also matters after a change to receivers, processors or exporters, and when the Collector's own health is not yet watched. The deployment pattern changes where loss shows up. An agent running beside each service sees refusals and queue pressure close to the workload, while a gateway receives data from many agents and concentrates load, so one overloaded gateway can affect every source behind it. Confirm which pattern each pipeline uses before you read any counter, since the same symptom points to different components in each case.

OpenTelemetry is not an observability backend. It generates, processes and exports telemetry but leaves storage and querying to separate tools, so a missing point may never have reached the storage layer at all. Before you blame the backend, compare what applications emit, what the Collector accepts and what it exports, and confirm the backend's ingestion and retention settings. Ask your team to document which Collector version runs in each pipeline, since component behavior and stability differ across releases and are recorded in each component's README on the OpenTelemetry status page.

Where telemetry can disappear in a Collector pipeline

Data enters through a receiver, which can refuse it, then passes the memory_limiter and batch processors before reaching the exporter's sending queue. Each hand-off is a loss point: the limiter drops data under memory pressure, the queue overflows when the backend slows, and the exporter gives up after retries run out. Check the refused, dropped and failed counters at each stage, starting from the point where data first disappears.

Loss points along a Collector pipeline, from receiver to backend.

How to find the stage where data is lost

This sequence moves from the symptom in the source application to the exact Collector stage that refuses, queues or drops telemetry, so you fix the right component first.

  1. Confirm the symptom at the source

    Start by proving that data is missing rather than assuming it. Compare what the application reports as sent (span, metric or log counts from the SDK, or a known test transaction) with what appears in the backend for the same time window and service name. Check the application's own exporter logs for connection errors or timeouts toward the Collector endpoint. Record the affected signal (traces, metrics or logs), the pipeline, and the time the gap started. The step is done when you can name one signal, one service and one window where the loss is reproducible. If the source sends data and the Collector never reports receiving it, the problem sits in the network path or the application exporter, not in the Collector stages below.

  2. Check receiver refusal counters and logs

    Next, check whether the receivers are refusing data before it enters any pipeline. In the Collector's internal telemetry, look at the receiver accepted and refused counters for each receiver, such as the OTLP receiver, and note which signal and receiver show non-zero refused values. Then search Collector logs for receiver errors, including payload size limits, decode failures and authentication rejections from authenticator extensions. A non-zero refused count with matching source-side errors points to a receiver-level problem: oversized batches, a protocol or encoding mismatch, a wrong endpoint, or a failed authentication check. Scraping these internal metrics is covered in the monitoring sibling topic, so set that up first if you have no dashboard for them. The step is done when every receiver shows either zero refusals or an identified cause.

  3. Check memory limiter activity

    Look at the memory_limiter processor next. Check the Collector's logs for memory limiter messages that report data being refused because memory usage crossed the soft or hard limit, and check the process memory metrics against the configured limits and the container memory limit. Compare the timing of these events with the gap identified in the first step. A memory limiter that refused data during the gap points to load that exceeds what the Collector instance was sized for, or to a limit set too close to the container limit. Refusals at this stage reach the source as errors, so confirm whether the source retried. The step is done when you know whether the limiter was active in the affected window and how much memory headroom existed. Tuning the limiter is covered in the restart and memory pressure topic.

  4. Check exporter queue saturation

    Next, check the sending queue for each exporter. Look at the queue size and queue capacity metrics, and at any log messages reporting that the queue is full and data is being dropped. A queue that stays near capacity during the gap means the exporter cannot send as fast as data arrives, usually because the backend is slow or the network is constrained. A queue that is empty while data is still missing shows the loss happened earlier or later in the path. Note which exporter and pipeline are affected, since one slow destination can fill its own queue without affecting others. The step is done when each exporter queue is recorded as steady, saturated or drained during the affected window. Sizing queues against container limits is covered in the restart and memory pressure topic.

  5. Check exporter send failures and retries

    Then check the exporter send counters. Compare the sent and failed counts for each exporter, and read the exporter logs for the error type. Repeated retries followed by permanent failures point to backend rejection or an unreachable endpoint, while timeout errors point to a backend that accepts requests too slowly for the configured retry window. Look for authentication failures on the exporter side, such as a rejected token from an oauth2client extension, and for TLS or DNS errors. Identify whether the failures are transient or persistent by checking whether they stop after the retry period. The step is done when each failed send has a known error class and a known destination.

  6. Confirm acceptance at the backend

    Finally, confirm what the backend actually stored. Use the backend's own ingestion metrics, rejection logs or query tools to check whether the data for the affected window arrived, and whether it was rejected for reasons such as rate limits, invalid timestamps, label or cardinality limits, or schema validation. Compare these counts with the Collector's exported counts for the same window. If the Collector reports successful sends but the backend shows fewer records, the loss is downstream of the Collector and needs the backend's configuration reviewed. If the backend shows the data, the loss was in the source or in a visibility problem at query time. The step is done when every stage from source to storage has a recorded count, and the stage with the first unexplained drop is named.

Refused data, memory pressure, full queues and exporter failures compared

Receivers accept data from SDKs, agents and other Collectors. When a receiver cannot accept a request, it returns an error to the sender, so the data is refused before the Collector processes it. The loss is usually visible on the sending side first, as export errors in the application or the upstream agent. Refusals can also come from client-side problems such as malformed payloads, unsupported encodings, or authentication failures when an authenticator extension is in use. Receiver-side limits, such as connection and request size constraints, can trigger the same behavior under heavy load.

  • Sender errors: SDK or agent logs show export failures with status codes indicating the request was rejected, not that it timed out.
  • Payload size: Large batches can exceed the receiver's accepted request size, so check batch processor settings on the sender against the receiver configuration.
  • Authentication: When an authenticator extension is configured, missing or invalid credentials cause consistent refusals from specific clients.
  • Protocol mismatch: A client sending a protocol or encoding the receiver does not expose will fail on every request.
  • Receiver metrics: Compare accepted and refused counters on the receiver to confirm where the refusals occur.

Check the sender's logs and the receiver's refused counters together before changing any Collector settings.

Configuration options that control loss and when each fits

This table lists the Collector settings that decide whether telemetry is kept, delayed, duplicated or silently discarded under pressure. Read each row as a failure to address, the trade-off that the fix introduces, and the condition under which the setting fits your pipeline. Key names come from the Collector configuration docs, and defaults vary by release, so confirm them for your version before you change anything.

Configuration keyFailure it addressesTrade-offWhen it fits
memory_limiter (limit_mib, spike_limit_mib, check_interval)Out-of-memory kills that take the whole Collector down, along with every queued batchOnce the limit is reached, the processor refuses new data, so the receiver pushes back or drops itAny pipeline where the container memory limit is known and the Collector must survive bursts; place it first in each pipeline
sending_queue (enabled, queue_size)Short exporter outages or slow backends that would otherwise block receiversA larger queue holds more data in memory and delays the failure signal; a full queue discards new itemsExporters that see intermittent backend latency; size queue_size against the memory the container can spare
sending_queue (enabled set to false)Memory growth from a queue that is not neededWithout a queue, backend slowness blocks the exporter path and can push back into receiversLow-volume agents that forward directly to a nearby gateway with reliable connectivity
retry_on_failure (enabled, initial_interval, max_interval, max_elapsed_time)Transient exporter errors such as brief network loss or backend throttlingRetries delay delivery and hold data in memory; retried requests that succeeded server-side can create duplicatesBackends that return retryable errors; confirm which error codes your exporter retries in its README
retry_on_failure (max_elapsed_time)Endless retries that stall the queue during a long outageWhen the window closes, the batch is dropped, so the reader must have an alert on exporter failure countersPipelines where losing a stale batch is preferable to blocking newer data; set it with the backend outage you expect in mind
timeout (exporter)Hung connections that hold queue workers indefinitelyA timeout that is too short creates false failures and retries; too long slows recoverySet it above normal backend p99 latency in your environment and test it under load
batch processor (send_batch_size, send_batch_max_size, timeout)Many small requests that overload backends and exhaust connection poolsLarger batches raise memory use and add delay before data is sent; oversized batches can be rejected by the backendHigh-throughput gateways; confirm the maximum request size your backend accepts before raising limits
Receiver limits (for example, max_recv_msg_size_mib on OTLP receivers)Single oversized payloads that the receiver refuses with no trace in the backendHigher limits allow larger requests to consume more memory per connectionWorkloads that send large log or trace payloads; check the receiver README for the exact key and default in your release

Fixing each loss point without hiding the problem

Fix the cause of each loss point before touching the buffers that hide it. When the Collector refuses data or its sending queue fills, the first question is whether the instance has enough CPU and memory for the load it receives, and whether the exporter's backend is accepting data at the rate sent. Scale out the gateway, right-size the container limits, or split the load across more Collector instances before raising sending_queue sizes. A larger queue only delays overflow: it holds more data in memory, so a backend outage or a slow exporter eventually fills it anyway, and the drops arrive later and in larger bursts. Also check that every increase in queue size fits inside the container memory limit, because the memory_limiter processor and the queue both draw on the same memory. Confirm the numbers with your own load tests and the Collector's internal metrics, not with a rule of thumb.

Backpressure is the intended signal, so make sure it reaches the right place. When a receiver cannot accept more data, it refuses the request, and well-behaved clients such as SDKs and upstream agents keep the data and retry. Problems appear when a client does not retry, when a load balancer sits in front of the gateway without health checks, or when an agent drops data locally after repeated refusals. Trace the refusal path from the receiver back to the application and confirm which component discards data at each step. Making the receiver accept everything into memory is not a fix, because it converts a visible refusal into invisible loss.

Reduce volume only after you know what the data is worth. Filtering with the filter processor or sampling with the probabilistic_sampler or tail_sampling processors is a deliberate product decision: it removes data that the owning team has agreed is not needed. Apply it to known noise such as health-check spans or debug logs, and record each rule in change control so that dropped data is never a surprise during an incident. Filtering that is used to mask a capacity problem should be treated as a warning sign and reviewed against the pipeline's sizing. Ask your team to confirm the retention and alerting expectations for each signal before any sampling rule goes live.

Setting up a verified loss test in a non-production pipeline

This sequence builds a controlled test pipeline where known telemetry volume goes in, accepted and refused counts are compared, and backend slowdown is induced to show how queues and retries behave before you trust the same settings in production.

  1. Deploy an isolated test pipeline with a debug exporter

    Your platform or observability engineers stand up a non-production Collector with the same receivers, processors and queue settings you plan to use in production, but send output to a debug exporter or a throwaway test backend. Keep the configuration in version control so every later change is traceable. Confirm that the Collector starts, that its receivers listen on the intended interfaces, and that a single test span, metric or log record appears in the debug output. Do not point the test at production backends or production credentials at this stage.

  2. Enable the Collector's internal telemetry

    Turn on the Collector's own internal telemetry so it exposes counters for received, accepted, refused, exported and failed items, along with queue metrics. Scrape these with your existing Prometheus-compatible tooling or read them from the metrics endpoint directly. Check that each counter is present and changes when you send the single test record from the previous step. If a counter never moves, fix the scrape or telemetry configuration before continuing, because the rest of the test depends on these numbers.

  3. Send a known volume with a load generator

    Use a load generator or a replay tool to send a fixed, recorded number of spans, metric points and log records to the test Collector over each receiver you use in production. Record the exact counts before the run starts, along with the payload sizes and send rate. Label this as a controlled baseline. Once the run ends, confirm that the received counter matches the number you sent for each signal. A mismatch at this point usually points to a receiver configuration problem, a client-side batching or export issue, or a payload limit that rejects data before the pipeline sees it.

  4. Confirm accepted and refused counts match

    Compare the received, accepted and refused counters for every pipeline and signal. Accepted items should account for everything that passed the receiver and processors, and refused items should be zero for a clean baseline. Any refused count must be explained by a specific cause, such as a malformed payload or a processor rule you intended. Repeat the run at least once to confirm the result is stable rather than a single lucky pass. Write down the counts and the exact configuration version that produced them, because this becomes the reference for later comparisons.

  5. Induce a backend slowdown

    Introduce a controlled slowdown on the test backend, for example by adding latency to the destination, returning throttled responses from a stub endpoint, or briefly stopping the backend. Repeat the same known-volume load while the backend is degraded. Watch the exporter failure counter, the retry counter and the sending queue size and occupancy during the induced fault. The goal is to see whether the queue absorbs the backlog or fills up, and whether retries recover data once the backend returns. Note the time from fault start to the first sign of queue growth, and the point where data starts to be dropped if it does.

  6. Verify queue and retry behavior after recovery

    Restore the backend and let the pipeline drain. Check that the queue size returns to its baseline and that the exported counter catches up with the accepted counter. Any gap between accepted and exported items that remains after drain represents loss, and the failed or dropped counters should explain it. Compare this result with the baseline run from the earlier step. If data is missing, adjust the queue capacity, retry settings or memory limits in the test configuration and repeat the fault test until the loss is either zero or fully explained by settings you have chosen deliberately.

  7. Record the configuration that passes

    Save the final Collector configuration, the load profile, the fault scenario and the counter values from the passing run as a single reference package. Include the Collector version you tested, since behavior can change between releases. Mark the settings that were changed during testing and the reason for each change. Confirm that another engineer can rerun the test from this package and reach the same counts. This record becomes the basis for your production rollout checklist and for any later upgrade test, and it shows reviewers how you verified the pipeline before relying on it.

Security risks when changing loss settings during an incident

Incident responders often loosen limits, open ports and turn on verbose output to see what is being lost. Each of those changes can expose data or the Collector itself, so the fixes for dropped data need the same review as any other production change.

Exposing zPages and debug endpoints

zPages and similar diagnostic endpoints show live pipeline state, and binding them to a reachable address during an incident lets anyone on that network read it. Since Collector v0.110.0, server components bind to localhost by default, so a change that widens the bind address is a deliberate act. Record the original setting, scope any temporary binding to a single host or a port-forward, and restore the default when the investigation closes. Confirm the restored value in the running configuration, not only in the file.

Collector security practices

Debug output leaking sensitive attributes

The debug exporter prints full telemetry, including attribute values such as user identifiers, tokens or query text, to logs that often have wider access than the source systems. Before enabling verbose output, add the redaction processor to the affected pipeline so sensitive keys are removed or masked first. Check the output on a sample of real traffic in a non-production pipeline, and set a fixed time after which verbose output is turned off.

Redaction guidance

Storing changed configuration securely

Emergency edits to the Collector configuration often happen by hand on a host or in a ConfigMap, outside the normal review path. Store the changed file in version control or your configuration store with the same access controls as the original, and avoid placing credentials for exporters directly in plain text in the file. Ask who can read the running configuration and the secrets it references, and remove temporary copies left on laptops or shared drives after the incident.

Collector configuration docs

Authentication when opening receiver ports

Raising a receiver's limits or adding a new listener to catch refused data can expose an unauthenticated ingestion point. Collector authenticator extensions can check incoming connections on receivers, for example with OIDC, and add credentials to outgoing exporter requests, for example with the oauth2client extension. Confirm which authenticator protects each opened port before traffic flows, and confirm with your security team which network segments can reach it.

Authenticator extensions

Questions teams ask before fixing dropped Collector data

How long does it take to fix dropped data in the Collector?

The duration depends on how much of the path is already observable and how many components are involved, so no fixed figure applies. A single exporter misconfiguration on a well-instrumented gateway is usually a shorter job than a fleet of agents dropping data at receivers across several clusters. The main drivers are the number of pipelines and exporters, whether the Collector exposes internal metrics that show where data is refused or failed, how many backends are involved, and whether a test environment exists for changes. Ask any partner for a timeline based on a written scope and a read of your current configuration, not a generic estimate.

Can our internal team fix dropped Collector data alone?

Often yes, if one or two engineers know the Collector configuration, can read its internal metrics and have authority to change pipelines. The work is mostly diagnostic: tracing data from the receiver through the memory limiter, the sending queue and the exporter, then matching each drop to a counter. Teams usually need help when the pipeline is shared across many services, when the failures involve backend throttling or network paths they do not own, or when they lack a safe place to test changes. Assess honestly how many people can explain each stage of your pipeline before deciding.

What access and information does the work require from us?

The work needs read access to the Collector configuration files or Helm values, the deployment manifests and the container resource settings. It also needs the internal telemetry the Collector exposes, along with access to cluster or host metrics such as restart counts and memory usage. Useful inputs include:

  • Recent logs from the Collector pods or services that show refused or failed export messages
  • The backend or destination documentation, including rate limits and authentication settings
  • A test environment or staging pipeline where configuration changes can be validated before production
  • A named contact who can approve changes during the engagement

Confirm with your security team how credentials and configuration secrets will be shared, since configuration files often contain endpoint tokens.

What does a consultant's scope cover for dropped data work?

A written scope for this work normally covers the pipelines in question, the points where data is refused, dropped or failed, the configuration changes recommended or made, and the verification that data flows end to end afterward. DeployOpen works in the client's own infrastructure and most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Scope usually excludes changes to the backend storage itself, changes to application instrumentation outside the pipeline, and ongoing monitoring unless it is contracted separately as a retainer. Ask for the scope to list each pipeline, each exporter and each deliverable so the boundary is clear.

Does raising queue sizes fully solve dropped data?

No. Larger sending queues absorb short bursts and temporary backend slowdowns, but they do not fix a destination that accepts data more slowly than it arrives. A larger queue also consumes more memory, which can push the Collector into memory limiter refusals or out-of-memory restarts if container limits are not raised to match. Queue size also has no effect on data refused at a receiver because of malformed payloads, authentication failures or memory limiter pressure. Effective fixes usually combine queue sizing with retry settings, exporter throughput, memory limiter tuning and, where volume exceeds what the destination can take, reduced data volume through sampling or filtering.

Which Collector counters show where data is lost?

The Collector exposes internal metrics that count accepted, refused and failed items at receivers and exporters, along with queue size and capacity figures. Comparing these counters at each stage tells you where the loss happens. Refused counts at a receiver point to memory limiter pressure or invalid payloads, while failed counts at an exporter point to destination errors or timeouts. Confirm the exact metric names and their availability in the Collector version you run, since the set of internal metrics and their stability are documented per component and can change between releases.

Is it safe to test fixes in production?

It is safer to test in a non-production pipeline first, because a misconfigured exporter or processor can stop all data flow, not just the data you are investigating. If a staging environment does not exist, a practical approach is a canary change on one agent or one gateway replica with the Collector's own health and internal metrics watched closely before wider rollout. Keep the previous configuration available for quick rollback, and record which counters changed after each step. Confirm with your change management process whether configuration changes to the Collector require approval.

Should configuration files be reviewed for security during this work?

Yes. Collector configuration often holds exporter tokens, endpoint addresses and authentication settings, so the review should confirm that secrets are not stored in plain text in version control and that the Collector's receivers are not exposed more widely than needed. The OpenTelemetry security guidance recommends storing configuration securely, using encryption and authentication, and removing sensitive attributes with the redaction processor. Server components bind to localhost by default since v0.110.0, so check any override that widens exposure while you troubleshoot. Keep any debugging endpoints restricted to the people investigating the issue.

Official OpenTelemetry references for Collector troubleshooting

The fastest way to confirm how a dropped-data symptom should be handled is to check the official Collector documentation before changing anything. The OpenTelemetry Collector documentation explains the receiver, processor, exporter and extension model that the checks in this section depend on, and it is the place to confirm how each component behaves when its input or output is refused. Start there when you need to map a refused count or a full queue to the component that produced it.

Treat the configuration reference as the source of truth for every setting you change while chasing lost data. The Collector configuration docs cover the keys for receivers, exporters and the service section, including how pipelines are wired together. Before you edit a value such as a queue size, a retry setting or a memory limit, confirm its exact name and default in the reference for the Collector version you run, because names and defaults can change between releases. Compare the release you run against the Collector releases page so your troubleshooting matches the code you actually deploy.

Component stability also affects how much you can rely on a given fix. Core components have mixed stability levels, and each component's README records its status, so check the README of any receiver or exporter involved in a loss before you depend on a particular option in production. The OpenTelemetry status page gives the project-level view. Where a component is still in development, plan for a configuration change in a later release and record which version you tested.

How DeployOpen works on this

DeployOpen approaches dropped data in the OpenTelemetry Collector as a scoped engagement inside your own infrastructure, whether that is your cloud accounts, data centers or air-gapped networks. We start from where telemetry actually disappears in your pipelines, then fix each loss point and leave you with evidence that the fixes hold.

How we scope

  • We map every receiver, processor, queue and exporter in your current Collector pipelines before agreeing any work.
  • The written scope names which pipelines, signals and environments are covered, and which are excluded.
  • Engagements are fixed-scope, so deliverables and timelines are agreed in writing before work starts.

How we build

  • We enable the Collector's internal telemetry so refused, dropped and failed counts are visible before changes begin.
  • We tune memory limiter, queue and retry settings against your observed load and container limits, then test each change.
  • We reproduce refusals, queue saturation and exporter failures in a non-production copy of your pipeline first.

How we hand over

  • You receive the updated Collector configuration, with each change tied to the loss point it addresses.
  • A runbook covers which counters to watch, what each alert means and the steps to take when data starts to drop.
  • Your team walks through the fixes and a retest, so the knowledge stays with the people who run the pipeline.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after the initial fixes are in place.
  • Retainers can cover re-checking dropped-data counters after Collector upgrades and changes to exporters or backends.
  • Support work stays inside your infrastructure, and we confirm the access and change process with you before starting.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.