Describe the OpenTelemetry Collector architecture.

IntermediateConceptTracing & OpenTelemetry
Answer

The Collector is built from components wired into pipelines per signal:

  • Receivers: get data in (otlp, prometheus, filelog, hostmetrics, k8s_cluster).
  • Processors: transform in order (memory_limiter, batch, k8sattributes, attributes, filter, tail_sampling, transform).
  • Exporters: send data out (otlp, otlphttp, prometheusremotewrite, debug).
  • Connectors: act as an exporter in one pipeline and a receiver in another (spanmetrics, servicegraph).
  • Extensions: non-data features (health_check, pprof, auth).
service:
  pipelines:
    traces:
      receivers: [otlp]
      processors: [memory_limiter, k8sattributes, batch]
      exporters: [otlp/tempo]

A component defined but not referenced in service.pipelines is simply ignored.

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Tracing & OpenTelemetry