Bookmarks

OTel — OpenTelemetry

An open-source CNCF project: a standard and tooling for collecting telemetry — traces, metrics and logs — with the OTLP protocol and a collector.

Also: otel

checked 9 Nov

All terms

OpenTelemetry addresses vendor lock-in: each backend — Jaeger, Zipkin, a cloud platform — used to have its own SDK and its own data format. The project brings together a telemetry API, SDKs for each language, the OTLP protocol, semantic conventions and a collector. It neither stores data nor draws dashboards — it is a layer between the application and the backend of the team’s choosing.

How it is structured

ComponentWhat it does
Specificationthe common requirements for every component: signals, API, protocol, data schema
API and SDKshow code produces telemetry; SDKs implement the API and export data, in 12 languages
OTLPthe telemetry transfer protocol: protobuf encoding, gRPC or HTTP transport, ports 4317 and 4318
Semantic conventionscommon attribute names: service.name, http.request.method, db.query.text
Collectora separate service: it receives, processes and forwards telemetry

The five signals

Telemetry is divided into signals. The core ones are stable: traces (the path of a request through an application), metrics (measurements taken at runtime) and logs (records of events). Alongside them sit baggage — context data carried between signals — and profiles, a code-level record of resource consumption that is still in development.

  • traces, metrics, logs — stable signals, the first to be collected
  • baggage — context that travels with a request: a user ID, an API request token
  • profiles — a signal in development: it ties CPU and memory consumption to specific parts of the code

The collector: receiving, processing, exporting

An application sends telemetry to a collector, which processes it in a pipeline and fans it out to backends. The pipeline is assembled from receivers, processors and exporters, and the service section wires them into pipelines per signal:

yaml
receivers:  otlp:    protocols:      grpc:        endpoint: 0.0.0.0:4317processors:  batch:exporters:  otlp_grpc:    endpoint: jaeger:4317service:  pipelines:    traces:      receivers: [otlp]      processors: [batch]      exporters: [otlp_grpc]

Here the traces pipeline receives data over OTLP/gRPC, batches it and hands it to Jaeger. The same collector can run as an agent next to the application or as a gateway — a separate service for the whole infrastructure. A single exporter can send data to several backends: for example, traces to Jaeger and metrics to Prometheus.

Where the project comes from

OpenTelemetry appeared in 2019 from the merger of two projects with a shared problem — the lack of a standard for instrumentation: OpenTracing and OpenCensus. CNCF accepted the project on 7 May 2019, it entered incubation on 26 August 2021, and on 11 May 2026 it graduated — reaching the maturity of Kubernetes and Prometheus. Openness has two effects: the data stays with the team — no vendor lock-in — and a single set of APIs and conventions for all languages and backends makes instrumentation uniform: libraries and frameworks increasingly emit telemetry in this format by default.

Sources

the term is written from these pages

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

  • observability

    Observability is a property of a system and the goal; OpenTelemetry is open tooling that helps serve that goal.

  • APMapplication performance monitoring

    APM is an off-the-shelf product with dashboards and alerts; OpenTelemetry has no backend of its own and merely prepares telemetry for any of them.

  • distributed tracing

    Distributed tracing is a technique for which OTel provides the trace signal; OpenTelemetry itself covers every signal: traces, metrics, logs and profiles.

In depth in the references

where the topic is covered in detail