OpenTelemetry

CNCF Incubating project; second-most-active CNCF project after Kubernetes. Vendor-neutral spec for traces, metrics, logs. SDKs in 11+ languages, Collector for processing/routing, OTLP wire protocol. Replaces vendor-specific agents (Datadog, New Relic, Jaeger client libs).

Overview

Instrument once, send anywhere

OpenTelemetry (OTel) is the CNCF Incubating standard for application telemetry: traces, metrics and logs, vendor-neutral. It started as the 2019 merger of OpenTracing and OpenCensus and has been CNCF Incubating since 2021. By 2024 it was the second-most-active CNCF project after Kubernetes itself (commits, contributors, releases).

The whole idea fits in one path. The app is instrumented once with the OTel SDK and sends its telemetry over OTLP, the OpenTelemetry Protocol, to the OTel Collector. The Collector runs the data through receivers, processors and exporters, and the exporters send it to whatever backends you choose: Tempo or Jaeger for traces, Prometheus or Mimir for metrics, or a vendor such as Datadog, Honeycomb, New Relic or Splunk.

> [!IMPORTANT] Switching backends becomes a Collector config change. The app is never re-instrumented.

Key concepts

  • Three signals: traces, metrics, logs
  • Auto-instrumentation
  • OTel Collector — pipeline-as-code
  • Sampling — head vs tail
  • Recipe: Kubernetes-native OTel deployment
  • Recipe: tail sampling for cost control

Interview questions

  • What is OpenTelemetry and what problem does it solve?
  • Walk through a production OTel deployment on Kubernetes.
  • Compare head sampling vs tail sampling — when to use each.
  • How does OTel handle correlation between traces, metrics, and logs?
  • Quick-fire interview answers — OpenTelemetry essentials.

Sign up free to read the full topic

More DevOps topics

Start free on Cariara · Coding problems · System design studio