OpenTelemetry (OTel) is a vendor-neutral open-source observability framework and CNCF project that provides unified APIs, SDKs, agents, and wire protocols for collecting distributed traces, metrics, and logs from software systems. It merges the OpenTracing and OpenCensus projects into a single standardised instrumentation layer, enabling consistent telemetry data collection regardless of the backend analysis platform. OpenTelemetry’s OpenTelemetry Protocol (OTLP) has become the de-facto standard for telemetry data transport in cloud-native environments.

Content

  • The precursor projects OpenTracing (distributed tracing API, 2016) and OpenCensus (Google’s tracing and metrics library, 2017) both addressed observability fragmentation but remained separate and incompatible. In 2019 they merged under the Cloud Native Computing Foundation to form OpenTelemetry, with the explicit goal of providing a single, stable, vendor-agnostic instrumentation standard. The 1.0 tracing specification was released in 2021, followed by stable metrics in 2022 and logging in 2023.
  • OpenTelemetry’s architecture separates concerns into three layers: the API (language-specific interfaces applications call), the SDK (default implementation with configurable processors and exporters), and the Collector (a standalone agent/gateway that receives, processes, and exports telemetry). The Collector’s pipeline model enables tail-based sampling, attribute enrichment, and fan-out to multiple backends without changing application code. OTLP (OpenTelemetry Protocol) over gRPC or HTTP/protobuf is the canonical transport, supported natively by most modern observability vendors.
  • Adoption is driven by the observability tax of complex microservice architectures: distributed traces link spans across service boundaries, enabling root-cause analysis of latency and errors without access to individual service logs. Metrics pipelines replace per-service monitoring agent proliferation. The framework is instrumented into major runtimes (Node.js, Python, Java, Go, .NET) and cloud platforms, with automatic instrumentation agents requiring zero code changes for common frameworks like Express, Spring, and Django.
  • By 2024-2025, OpenTelemetry is effectively the industry standard instrumentation layer for cloud-native software, with AWS, Google Cloud, and Azure all offering native OTLP ingestion. The AI/ML observability use case has emerged as a growth area: OTel instrumentation for LLM inference pipelines captures token latency, cost, and quality signals. The GenAI semantic conventions working group is standardising how model calls, embeddings, and agent traces are represented, bridging software observability into AI system monitoring.