Back to Resources
Blog

Your Collector's batch Processor Has a Removal Date: The 15-Minute Migration

Jesse Raleigh·December 3, 2026

Title slide headed The 15-Minute OpenTelemetry Migration, with the subtitle The architectural shift, the exact code diffs, and the hidden backpressure trap to address before your Collector fails to start. Below, a row of five boxes joined by a line, with the middle box filled orange and labeled batch

If you run the OpenTelemetry Collector in production, there's a good chance batch sits in almost every pipeline you own. It has been in the Helm chart defaults, in vendor distributions, and in nearly every example config for years. That's ending.

On November 11, the OpenTelemetry project announced that the batch processor is deprecated. Batching now lives inside exporters ("exporter-level batching"), and a new queue_batch processor replaces the old component for the cases that still need batching mid-pipeline (OpenTelemetry blog).

The good news: for most pipelines, the migration is two edits per config. The less obvious news: one of those edits can quietly change how your Collector behaves under pressure. This post covers both.

The timeline

MilestoneReleaseTarget date
batch processor deprecated for traces, metrics, and logs; prints a warningCurrent releasesNov 2026
Exporter-level batching enabled by default in most exportersv0.171.0Feb 2027
batch processor removed from core and distributionsv0.177.0May 2027

Dates come from the announcement post and the processor README, which lists the deprecation date as 2026-11-24.

Slide headed Countdown to Pipeline Failure. A horizontal timeline runs from gray to orange to red. Nov 2026, Deprecation Phase: the batch processor begins printing warnings for traces, metrics, and logs. Feb 2027 (v0.171.0), Default Shift: exporter-level batching is enabled by default in most exporters. May 2027 (v0.177.0), Hard Removal: the batch processor is entirely removed from core and distributions

One trap is worth calling out early: waiting for the February default isn't enough. If batch is still in your config when it's removed, your Collector won't start (OpenTelemetry blog). Custom builds that still reference the module will have to move to queue_batch or vendor the old component (migration RFC).

Why it's changing

The batch processor has long-known defects, mainly around error propagation and concurrency (collector issue #15047). It sits in the middle of the pipeline, separated from the exporter's queue and retry logic. That makes it hard to reason about what happens when a backend slows down or the process restarts.

The exporter helper's combined queue and batch sender fixes this. It lets you size batches by items, bytes, or requests, and optionally wait synchronously for results (migration RFC). When paired with a persistent sending queue, data is written to disk before it's acknowledged, so it can survive a Collector restart (Dash0).

The shortest path

Slide headed Four Steps to Exporter-Level Batching, with four numbered panels joined by arrows. 01 Locate and Validate: inventory configs and confirm your exporters support sending_queue. 02 The Single-Commit Diff: move batching logic to the exporter and delete the processor simultaneously. 03 Translate Custom Tuning: map your legacy settings to the new parameter names and check your units. 04 Configure the Overflow: explicitly decide your backpressure behavior to prevent silent data drops

1. Inventory every reference

Search everywhere a Collector config can come from:

  • Raw Collector YAML
  • Helm values and chart templates
  • Operator OpenTelemetryCollector resources
  • OCB (Collector builder) manifests for custom distributions
  • Vendor distribution configs layered on top
rg -n '^\s*batch(/[\w-]+)?:|\bbatch\b' --glob '*.{yaml,yml}'

2. Confirm your exporters support sending_queue

Exporter-level batching works for exporters that use the common sending_queue behavior, which most do (OpenTelemetry blog). Check the docs for every exporter you use. Custom exporters that don't use the exporter helper will lose batching entirely when the processor is removed (migration RFC). Those are your queue_batch candidates.

3. Move batching into the exporter and remove the processor, in one change

Before:

processors:
  memory_limiter:
    check_interval: 1s
    limit_percentage: 80
  batch: {}
 
exporters:
  otlp:
    endpoint: backend:4317
 
service:
  pipelines:
    traces:
      receivers: [otlp]
      processors: [memory_limiter, batch]
      exporters: [otlp]

After:

processors:
  memory_limiter:
    check_interval: 1s
    limit_percentage: 80
 
exporters:
  otlp:
    endpoint: backend:4317
    sending_queue:
      batch:
        enabled: true
 
service:
  pipelines:
    traces:
      receivers: [otlp]
      processors: [memory_limiter]
      exporters: [otlp]

The upstream example uses sending_queue.batch.enabled: true (OpenTelemetry blog), and the defaults are designed to match the old processor's defaults.

Make both edits in the same commit. If you add exporter batching but leave the processor in place, you get double batching. The Collector warns about this at startup, but it's easy to miss in a noisy log.

4. Translate any custom batch settings

If you tuned the old processor, map the settings across:

Old batch processorNew sending_queue.batch
send_batch_sizemin_size
send_batch_max_sizemax_size
timeoutflush_timeout
exporters:
  otlp:
    endpoint: backend:4317
    sending_queue:
      sizer: items
      queue_size: 50000
      batch:
        enabled: true
        min_size: 8192
        max_size: 10000
        flush_timeout: 200ms

Watch the units. If the queue sizer is items, min_size has to fit inside queue_size. With the default requests sizer, the queue and batch are measured in different units, so compare them deliberately. Check the exporter helper docs for the version you run.

5. Use queue_batch only where you need it

Some pipelines genuinely need batching before the exporter. The project recommends the queue_batch processor when several exporters share one batching step, or when aggregation processors upstream need larger batches (migration RFC). For these pipelines, the migration is mostly a rename:

processors:
  queue_batch: {}
 
service:
  pipelines:
    metrics:
      receivers: [otlp]
      processors: [memory_limiter, queue_batch, groupbyattrs]
      exporters: [otlp, prometheusremotewrite]

Slide headed When to Keep Mid-Pipeline Batching. A processor branches two ways: to a single exporter, labeled Action: sending_queue.batch, and to a bracketed group of Exporter A, Exporter B, and Exporter C, labeled Action: queue_batch. Below: Use queue_batch only if several exporters share a single batching step, upstream aggregation processors require pre-batched data, or you use custom exporters lacking sending_queue support

A detail for anyone with dashboards: queue_batch reports batch sizes under new names, otelcol_processor_queuebatch_batch_send_size and the related bytes metric, instead of the old processor's otelcol_processor_batch_batch_send_size, so update any panels that use the old names (queue_batch metadata).

6. Validate before you roll it out widely

  • Confirm the deprecation and double-batching warnings are gone at startup.
  • Compare export request sizes and latency before and after.
  • Watch for dropped data and "sending queue is full" errors.
  • Test a backend outage in staging, not just the happy path (see the next section).

The gotcha: backpressure and error propagation

This is the part most migration notes skip.

The old batch processor blocked. When things backed up, that pressure flowed back toward receivers. The new queue_batch processor keeps that behavior on purpose: it defaults block_on_overflow to true (queue_batch README). Its wait_for_result defaults to false, so set it to true as well if callers need export errors.

Exporter-level batching doesn't. The RFC states that the exporter helper's block_on_overflow and wait_for_result defaults aren't changing (migration RFC). Both are off by default. In practice, that means:

  • When the queue is full, new data is rejected rather than blocking upstream.
  • Clients sending to the Collector get a success response before the export actually succeeds.

For many deployments, this is fine, and it may even be better. For others, especially gateway tiers where SDKs or agents rely on backpressure to slow down or retry, it's a real behavior change. Decide on purpose:

exporters:
  otlp:
    endpoint: backend:4317
    sending_queue:
      block_on_overflow: true   # push back on upstream when full
      wait_for_result: true     # propagate export errors to callers
      batch:
        enabled: true

Slide headed Explicitly Configuring the Overflow. On the left, an otlp exporter config with block_on_overflow: true and wait_for_result: true highlighted under sending_queue, above batch enabled: true. On the right: For gateway tiers where SDKs explicitly rely on backpressure to trigger slow-downs or retries, the new default is a dangerous behavior change. To restore the old behavior, add these two lines: block_on_overflow: true pushes back on upstream when full, and wait_for_result: true propagates export errors directly to callers. A note at the bottom: if durability matters more than backpressure, configure a persistent queue via a storage extension instead

If durability across restarts matters more than backpressure, add a persistent queue through a storage extension instead.

Quick decision guide

Your situationDo this
Standard pipeline, default batch settingsRemove batch, enable sending_queue.batch
Tuned batch settingsSame, and translate the three settings
Several exporters share one batch, or a downstream processor needs big batchesRename batch to queue_batch
Exporter doesn't use sending_queueUse queue_batch
Upstream relies on backpressureExporter batching plus block_on_overflow and wait_for_result, or queue_batch
Need durability across restartsExporter batching with a persistent queue

Rollout checklist

  • Every batch reference found (configs, Helm, Operator, OCB, vendor overlays)
  • Every exporter confirmed to support sending_queue
  • Batching moved and the processor removed in the same change
  • Custom settings translated, units checked
  • Backpressure behavior decided explicitly
  • Staging outage test passed
  • Dashboards and alerts checked for renamed metrics
  • Shipped well before v0.177.0

Slide headed Pre-Flight Rollout Checklist: This is a mechanical fix that most teams can finish in an afternoon, if validated properly. Four checked items. Log Check: confirm deprecation and double-batching warnings are completely gone at startup. Performance Diff: compare export request sizes and latency before and after the commit. The Chaos Test: simulate a backend outage in staging and watch for dropped data versus backpressure to confirm your overflow settings behave as intended. Observability: verify existing dashboards and alerts map correctly to renamed metrics

The takeaway

This is one of the rare OpenTelemetry changes with a clear deadline and a small, mechanical fix. Most teams can finish it in an afternoon. The only part that needs real thought is backpressure, so make that choice on purpose instead of discovering it during your next backend outage.


When will the batch processor be removed?+

The OpenTelemetry announcement plans exporter-level batching to be enabled by default in most exporters in v0.171.0 (February 2027), and the batch processor to be removed from core and distributions in v0.177.0 (May 2027). The processor's README lists its deprecation date as 2026-11-24.

What replaces the batch processor?+

Exporter-level batching, configured under each exporter's sending_queue.batch. For pipelines that still need batching before the exporter, the new queue_batch processor replaces the old component.

Do I need queue_batch?+

Only in a few cases: when several exporters share one batching step, when aggregation processors upstream need larger batches, or when an exporter does not use the common sending_queue behavior. Every other pipeline can move batching into the exporter.

What happens if I enable exporter batching and leave the batch processor in the pipeline?+

You batch twice. The Collector logs a warning at startup when a pipeline has both a batch processor and an exporter with sending_queue batching enabled, which is why the two edits belong in the same change.

Does exporter-level batching change backpressure?+

It can. With the exporter helper's defaults, block_on_overflow and wait_for_result are both off: a full queue fails fast instead of blocking upstream, and senders get a success response once data is queued rather than once it is exported. Set both to true if your SDKs or agents rely on backpressure.


Not Sure Where to Start?

Take our free OTEL Maturity Assessment to identify gaps and get a personalized action plan.

Take the Free Assessment