OpsCanary
kubernetesobservabilityPractitioner

Is Your OpenTelemetry Pipeline a Performance Bottleneck?

5 min read CNCF BlogNov 17, 2026Reviewed for accuracy
Share
Practitioner — Hands-on experience recommended

In a world where observability is crucial, a poorly configured OpenTelemetry pipeline can become a performance bottleneck. As applications generate telemetry data, the overhead from instrumentation can impact your system's responsiveness. This is especially true when request throughput, attribute volume, and the number of spans generated per request vary widely across your workloads.

The OpenTelemetry Collector plays a vital role in managing this overhead. It groups telemetry data inside the exporter’s sending queue before transmitting it downstream. This batching mechanism allows you to send larger payloads, improving compression efficiency and reducing export overhead. Key configuration parameters like sending_queue.enabled, sending_queue.queue_size, and batch.enabled help you fine-tune this process. For instance, setting sending_queue.queue_size to 100000 can prevent smaller, unbatched requests from overflowing the queue, which is a common pitfall.

In production, you need to be aware of the nuances of your telemetry pipeline. The built-in exporter batching is a significant improvement over the now-deprecated standalone batch processor. However, if you don't configure batching properly, you risk introducing latency. The default values for parameters like batch.min_size (8192) and batch.flush_timeout (200ms) can serve as a good starting point, but always monitor your system's performance to ensure optimal settings.

Key takeaways

  • →Understand instrumentation overhead and its workload dependency.
  • →Configure the sending queue with a high queue size to prevent overflow.
  • →Enable batching to improve compression efficiency and reduce export overhead.
  • →Monitor your telemetry pipeline to adjust parameters based on performance.
  • →Be aware of the transition from standalone batch processors to built-in exporter batching.

Why it matters

In production, a misconfigured OpenTelemetry pipeline can lead to increased latency and degraded application performance. Optimizing your telemetry setup is essential for maintaining responsiveness and reliability.

Code examples

YAML
1exporters:
2  otlp_grpc:
3    endpoint: "otel-backend:4317"
4    sending_queue:
5      enabled: true
6      sizer: items       
7      queue_size: 100000 
8      batch:
9        enabled: true
10        min_size: 8192
11        flush_timeout: 200ms

When NOT to use this

The official docs don't call out specific anti-patterns here. Use your judgment based on your scale and requirements.

Want the complete reference?

Read official docs

Test what you just learned

Quiz questions written from this article

Take the quiz →
Linux FoundationSponsor

Industry-standard certifications built by the people behind Linux and Kubernetes. Earn the CKA — the gold standard Kubernetes administrator cert. OpsCanary readers get 30% off year-round with code OPSCANARY3.

Get CKA certified →

Get the daily digest

One email. 5 articles. Every morning.

No spam. Unsubscribe anytime.