Services

Resources

Company

/

OpenTelemetry Collector

OpenTelemetry Collector

The OpenTelemetry Collector (OTel Collector) is a standalone service that receives telemetry, processes it and sends it to one or more backends. It decouples applications from observability vendors. Apps send data to the Collector over OTLP (the OpenTelemetry protocol), and the Collector handles batching, filtering, enrichment, sampling and export in one place.

How it works

A Collector config defines pipelines for traces, metrics and logs. Each pipeline has three stages:

  1. Receivers accept data, for example OTLP on port 4317.

  2. Processors change it, for example memory_limiter, batch, k8sattributes or tail_sampling.

  3. Exporters send it to backends.

On Kubernetes, a common pattern runs an agent Collector on every node as a DaemonSet and a gateway Collector as a central Deployment. Processor order matters. Placing memory_limiter first stops the Collector from running out of memory under load.

Why it matters in production

The Collector is where telemetry cost and quality are controlled. A wrong processor order, missing memory limits or high-cardinality attributes can drop data during an incident or multiply your observability bill.

See also

On the One2N blog

References

  1. OpenTelemetry Collector (official documentation)

Flow through an OpenTelemetry Collector. Three apps send OTLP on port 4317 to the receiver. Inside the Collector, data passes through processors in order: memory_limiter first, then batch, k8sattributes and tail_sampling, and then an exporter sends it to two backends. A red arrow points at memory_limiter with the warning that if it is not first, the Collector runs out of memory and data is dropped.

Putting this into practice?

Talk to One2N about our SRE consulting

Talk to One2N about our SRE consulting