ObservabilityOpenTelemetry Collectorotel collectorcollectorgateway collector

Telemetry collector

Definition

A telemetry collector, such as the OpenTelemetry Collector, runs pipelines of receivers, processors (batching, filtering, redaction, sampling) and exporters between instrumented services and observability backends.

In practice

Sending telemetry straight from every service to a vendor couples code to that backend and pushes batching, retries and credentials into each app. A collector takes OTLP from services, often as a local agent per node, and forwards to a gateway tier that applies tail sampling, drops sensitive attributes and fans out to several backends. Changing backends then becomes a config change.

Collectors are infrastructure and need capacity planning and monitoring of their own: queue sizes, dropped spans, memory limits. Under pressure a pipeline should drop telemetry, never slow down or fail application requests, so exports from apps are asynchronous with bounded buffers.

Example

Each Kubernetes node runs a Collector agent that receives OTLP on port 4317 and forwards to a three-replica gateway using the load-balancing exporter keyed by trace id, which then exports to Tempo and Prometheus.