
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
| Milestone | Release | Target date |
|---|---|---|
batch processor deprecated for traces, metrics, and logs; prints a warning | Current releases | Nov 2026 |
| Exporter-level batching enabled by default in most exporters | v0.171.0 | Feb 2027 |
batch processor removed from core and distributions | v0.177.0 | May 2027 |
Dates come from the announcement post and the processor README, which lists the deprecation date as 2026-11-24.

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

1. Inventory every reference
Search everywhere a Collector config can come from:
- Raw Collector YAML
- Helm values and chart templates
- Operator
OpenTelemetryCollectorresources - 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 processor | New sending_queue.batch |
|---|---|
send_batch_size | min_size |
send_batch_max_size | max_size |
timeout | flush_timeout |
exporters:
otlp:
endpoint: backend:4317
sending_queue:
sizer: items
queue_size: 50000
batch:
enabled: true
min_size: 8192
max_size: 10000
flush_timeout: 200msWatch 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]
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
If durability across restarts matters more than backpressure, add a persistent queue through a storage extension instead.
Quick decision guide
| Your situation | Do this |
|---|---|
| Standard pipeline, default batch settings | Remove batch, enable sending_queue.batch |
| Tuned batch settings | Same, and translate the three settings |
| Several exporters share one batch, or a downstream processor needs big batches | Rename batch to queue_batch |
Exporter doesn't use sending_queue | Use queue_batch |
| Upstream relies on backpressure | Exporter batching plus block_on_overflow and wait_for_result, or queue_batch |
| Need durability across restarts | Exporter batching with a persistent queue |
Rollout checklist
- Every
batchreference 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

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.


