Vendor-agnostic way to receive, process and export telemetry data
open sourceApache-2.0self-hostablefree
The OpenTelemetry Collector receives, processes and exports traces, metrics and logs, so one agent or gateway can replace several vendor agents and send data to one or more open source or commercial backends. Pipelines are built in YAML from receivers (OTLP, Prometheus scraping, Jaeger, Fluent Forward and many more), processors, exporters, connectors that turn one signal into another, and extensions such as health checks. It ships as several official distributions (core, contrib, Kubernetes, OTLP and eBPF profiling), and the OpenTelemetry Collector Builder makes a custom one with only the components you need. It is part of OpenTelemetry, a CNCF project, under Apache-2.0; it stores and displays nothing itself, leaving that to backends such as Jaeger or Prometheus.
Ways to install
On Kubernetes
Problems it solves
- we run a different agent for every observability vendor on each host and want one
- receive OTLP traces, metrics and logs from my instrumented services in one place
- change observability backends without touching application code
- batch, retry and encrypt telemetry close to the app so the service can offload it quickly
- strip sensitive attributes from spans and logs before they leave our network
- send the same traces to two tracing backends during a migration
- scrape Prometheus endpoints and forward the metrics over OTLP
- generate request rate and error metrics from the traces I already collect
- route traces, metrics and logs from many services to different backends through one gateway
- build a small telemetry agent binary with only the components we use
- deploy a telemetry agent on every Kubernetes node plus a central gateway
Features
- receivers, processors, exporters, connectors and extensions configured in YAML
- OTLP receiver over gRPC (port 4317) and HTTP (port 4318)
- Prometheus receiver with scrape_configs
- traces, metrics and logs in a single codebase, deployable as an agent or a gateway
- connectors that link pipelines, for example turning traces into metrics
- health check, pprof and zPages extensions
- official core, contrib, Kubernetes, OTLP and eBPF profiling distributions
- OpenTelemetry Collector Builder (ocb) for custom distributions
- per-component, per-signal stability levels
- signed container images verifiable with Cosign
View 2 more
- Helm chart and the OpenTelemetry Operator for Kubernetes
- binaries for Linux, macOS and Windows
Limitations
- Doesn't store or visualize telemetry: OpenTelemetry isn't a backend, so you need separate storage and a UI such as Jaeger or Prometheus2
Capabilities
| Takes plugins | plan not known |
|---|
Alternatives
The same job
These do what OpenTelemetry Collector does.
- Fluent Bit Fast and lightweight telemetry agent for logs, metrics and traces
- Cribl Stream Get the data you need, in the format you want, wherever it needs to go
- Vector A lightweight, ultra-fast tool for building observability pipelines
- Grafana Alloy OpenTelemetry Collector distribution with programmable pipelines
- Telegraf Open source agent for collecting metrics from infrastructure, applications, and devices
- Logstash Centralize, transform & stash your data
