OpenTelemetry is retiring the batch processor. What should you change?
Move batching to the exporter queue, then verify how much telemetry the Collector can buffer when its destination slows down.

The Collector works until its destination slows down
Imagine a checkout team upgrading the Collector that forwards its traces. Under normal traffic, the candidate forwards spans and the dashboards look familiar. When the backend takes longer to accept requests, however, the exporter queue fills sooner than it did before. The team copied its old queue limit, but the requests taking up those slots now contain fewer spans.
This is a hypothetical incident. It illustrates the migration problem worth rehearsing: keeping the same numeric setting can change how much work the Collector can absorb. The question to answer before rollout is how much data can wait, for how long, and what happens once the queue has no room.
OpenTelemetry announced the batch processor deprecation on November 11, 2026. The project plans to enable exporter batching by default in most exporters in v0.171.0, targeted for February 2027, and remove the original processor from core and distributions in v0.177.0, targeted for May 2027. Treat those dates as project plans and verify them against your distribution’s release notes.
Find where batching happens in your pipeline
In a typical pipeline with the original processor, the Collector groups signal items into outgoing requests before those requests reach the exporter queue. With exporter batching, incoming requests enter the sending queue first and are combined for export afterward. A receiver may already deliver groups of spans, so “queue first” does not imply one entry per span.
Start with the deployed configuration, including overlays and environment substitutions. List every pipeline that references batch or a named instance such as batch/traces. For each one, record the exporter, whether its queue supports batching, the queue size and unit, and the existing batch threshold, maximum size, timeout and metadata grouping. Check the exact distribution and version because component support varies.
Pay special attention to pipelines with several exporters. Moving shared batching into individual exporters changes where work happens and gives each destination its own batching settings. Check each branch rather than treating a healthy primary exporter as evidence that a secondary destination is also keeping up.

Translate the queue limit into time
A queue measured in requests counts incoming requests at that point in the pipeline. An upstream batch processor may have combined many spans before the exporter sees them. Remove that processor and each slot may now represent a much smaller receiver request. Check queue capacity in its configured unit before copying any numeric limit.
Suppose the queue holds 100 requests. If each queued request holds 500 spans before the migration and 50 afterward, those queues represent 50,000 and 5,000 spans respectively. If arrivals exceed completed exports by 1,000 spans per second, an initially empty queue fills in roughly 50 seconds in the first case and 5 seconds in the second. These are teaching assumptions. Live request sizes vary, and the calculation leaves out in-flight requests and retry timing.
Choose the buffer you need from the failure you want to tolerate. For a short slowdown, estimate the excess arrival rate multiplied by the duration you intend to absorb. Then check memory or disk use with realistic payloads. A queue measured in items gives a clearer signal-volume budget, while a byte-based queue can be useful when payload sizes vary significantly. Neither is a direct measurement of process memory.
How long until the queue fills?
Compare two queues with 100 request slots. In this example, the destination falls behind by 1,000 spans per second.
Batch before queue
16 / 100 slots used. Each slot holds 500 spans.
Queue before batch
100 / 100 slots used. Each slot holds 50 spans.
Start with one exporter and an explicit configuration
The two examples describe a single traces pipeline with an OTLP gRPC receiver and exporter. The old configuration groups spans before the queue. Both examples listen only on loopback and export to a placeholder local destination using plaintext, which makes them suitable as starting points for an isolated test. Keep your deployment’s existing TLS, authentication, retry settings and other processors when adapting them.
receivers:
otlp:
protocols:
grpc:
endpoint: 127.0.0.1:4317
processors:
batch:
send_batch_size: 500
send_batch_max_size: 500
timeout: 200ms
exporters:
otlp:
endpoint: 127.0.0.1:5317
tls:
insecure: true
sending_queue:
enabled: true
sizer: requests
queue_size: 100
service:
pipelines:
traces:
receivers: [otlp]
processors: [batch]
exporters: [otlp]Illustrative test configuration. The timeout can flush a smaller request, so 500 spans per queue entry is an assumption for the interactive model.
Set queue and outgoing batch sizes separately
In the candidate below, 50,000 is a queue budget in spans, and 500 is a batch target and upper limit in spans for this traces pipeline. The timeout lets a smaller batch flush when traffic is low. The values preserve the modeled span capacity for the example, but the sending queue may behave differently under bursts, and the new settings need their own baseline.
Use exporter batching when the destination and distribution support it. Consider queue_batch where downstream processing needs grouped inputs or where you deliberately want batching shared across exporters. Treat a move to that processor as a separate configuration change and check its queue and error propagation behavior. Remove the old processor reference from the relevant pipeline when moving batching into its exporter.
receivers:
otlp:
protocols:
grpc:
endpoint: 127.0.0.1:4317
exporters:
otlp:
endpoint: 127.0.0.1:5317
tls:
insecure: true
sending_queue:
enabled: true
sizer: items
queue_size: 50000
batch:
sizer: items
min_size: 500
max_size: 500
flush_timeout: 200ms
service:
pipelines:
traces:
receivers: [otlp]
exporters: [otlp]Use a Collector build with the OTLP exporter and sending queue batching support. Confirm the exporter name and config schema against your deployed version. Queue and batch thresholds count spans here.
Measure the slowdown and the recovery
Replay equivalent synthetic traffic against the old and candidate configurations in staging. Keep request sizes, arrival patterns and backend limits comparable. Begin with a healthy destination, introduce a controlled slowdown, then restore capacity and wait for the queue to drain. Repeat with a burst and low-volume traffic so you can see both queue pressure and timeout-driven exports.
Watch otelcol_exporter_queue_size alongside otelcol_exporter_queue_capacity. Confirm the unit for each run before comparing charts. Track otelcol_exporter_enqueue_failed_spans for admission failures and otelcol_exporter_send_failed_spans for export failures. A send failure can be retried, so use the destination’s received span counts and a few known trace IDs to check for missing data after the drain.
Record process memory, delivery delay and time to drain as well as errors. If you enable block_on_overflow, test how waiting affects the upstream sender’s timeout and retry behavior. A queue rejection occurs before exporter retry can help, while blocking can shift the pressure toward receivers and SDKs. If you use persistent storage, repeat the recovery test across a Collector restart and check the disk budget.
Define what would stop the rollout
Choose acceptance criteria from the service’s tolerance for late or missing telemetry. For example, require the candidate to survive the agreed slowdown without enqueue failures, deliver the expected trace IDs after recovery, and return to its normal queue level within the team’s recovery target. Keep destination request limits and Collector memory within their tested bounds.
Pin the Collector version and keep the previous compatible configuration ready. Roll the candidate out to a small subset, then compare behavior with the baseline under comparable load. If queue pressure or delivery delay exceeds the agreed threshold, stop expansion and investigate before changing capacity, batching and retries together. Plan what to do with in-flight or buffered data before restarting a Collector to roll back.