Observability is the ability to understand the internal state of a system from its external outputs. The three pillars of observability are metrics—numeric time-series measurements like request rate and error rate—logs—structured or unstructured text records of discrete events—and traces—causal chains of spans that describe how a request propagates across services. OpenTelemetry is the CNCF-graduated vendor-neutral standard for collecting and exporting all three signals from applications and infrastructure.
Before OpenTelemetry, every observability vendor required proprietary instrumentation libraries. Switching from Datadog to Prometheus required rewriting all telemetry code throughout the application codebase. OpenTelemetry solves this with a single instrumentation API that decouples the application code from the observability backend: the application emits telemetry using the OTel SDK, the OpenTelemetry Collector routes that telemetry to any backend, and switching backends requires only a Collector configuration change—no application code changes.