What is OpenTelemetry?

In short
OpenTelemetry is an open source framework and toolkit for generating, collecting and exporting telemetry data such as traces, metrics and logs. It is not a storage or dashboard tool itself. Instead, it sends your data to the observability backend of your choice, so you can switch vendors without rewriting your instrumentation.
OpenTelemetry gives you one standard way to produce the data that tells you what your software is doing. It covers the full path: generating telemetry inside your code, collecting it, and exporting it to a backend. The project is open source and vendor-neutral, so the same instrumentation can feed tools such as Jaeger or Prometheus, or a commercial product.
Why observability needs a standard
Observability means you can understand the internal state of a system by looking at what it outputs. In software, those outputs are mainly traces (the path a request takes through many services), metrics (numbers measured over time, such as request counts or latency) and logs (timestamped text records of events).
To make a system observable, its code must emit these signals. The emitted data then has to travel to an observability backend, which stores it and lets you query it. Before OpenTelemetry, every vendor and project had its own way to instrument code. Switching tools meant rewriting a lot of code. Microservices and cloud platforms made this worse, because a single request can touch dozens of components written in different languages.
OpenTelemetry addresses this with two principles. First, you own the data you generate, so there is no vendor lock-in. Second, you learn one set of APIs and conventions instead of many. Together, these give teams the freedom to change their backend later without touching their application code.
How it works
OpenTelemetry is made of several parts that work together. Knowing the pieces helps you choose what you need.
- A specification describes how all components should behave.
- A standard protocol, called OTLP, defines the shape of telemetry data on the wire.
- Semantic conventions give common telemetry, such as HTTP requests, a standard naming scheme.
- APIs define how your code creates telemetry.
- Language SDKs implement those APIs and handle export. They exist for many programming languages.
- A library ecosystem provides instrumentation for popular libraries and frameworks.
- Automatic instrumentation can produce telemetry without changes to your code.
- The OpenTelemetry Collector is a proxy that receives, processes and exports telemetry. It sits between your services and your backends.
The project also includes tools for specific platforms, such as the OpenTelemetry Operator for Kubernetes and Helm charts. If you run containers, you may want to read about our guide to Kubernetes operators and Helm.
OpenTelemetry does not store or display data. Those jobs belong to the backend and the frontend. A tool such as Grafana is a common choice for visualizing metrics and other signals from such a backend.
Extensibility
Most users never need to extend OpenTelemetry, but the project is designed so that you can. Common extension points include:
- adding a receiver to the Collector to accept data from a custom source,
- loading custom instrumentation libraries into an SDK,
- building an SDK or Collector distribution for one specific use case,
- writing an exporter for a backend that does not yet support OTLP,
- writing a custom propagator for a context propagation format that is not standard.
This matters for advanced teams that run unusual infrastructure. You can adapt the project without forking the whole thing.
A brief history
OpenTelemetry is a Cloud Native Computing Foundation (CNCF) project. It came from a merger of two earlier projects, OpenTracing and OpenCensus. Both were created to fix the same gap: there was no standard way to instrument code and send telemetry to a backend. Neither could solve the problem alone, so they joined forces and combined their strengths into one solution. If your code still uses OpenTracing or OpenCensus, the official migration guide explains the steps to move to OpenTelemetry.
Common mistakes
A frequent misunderstanding is to expect OpenTelemetry to replace your backend. It does not. You still need a system that stores and queries the data. Another mistake is to instrument code with vendor-specific libraries and then assume the work is portable. Use the OpenTelemetry APIs and exporters so the instrumentation stays independent of any one vendor.
Finally, remember that instrumentation alone does not make a system observable. The data must be useful. Start with the signals that answer your real questions, such as which requests are slow and which service causes errors. Our observability page explains the underlying ideas in more detail.
Where to start
The official documentation offers concept guides, a video series for beginners, and a free training course called Getting started with OpenTelemetry. Pick one language SDK, instrument a small service, send its traces to a local backend, and look at the result. That single loop teaches more than reading the specification alone.
FAQ
Is OpenTelemetry a monitoring tool?
Not by itself. OpenTelemetry generates, collects and exports telemetry data. You need a separate backend to store the data and a frontend to visualize it.
Does OpenTelemetry lock me into one vendor?
No. It is vendor-neutral and works with open source tools and commercial products alike. You can change the backend without rewriting the instrumentation in your code.
What is the OpenTelemetry Collector used for?
The Collector is a proxy that receives, processes and exports telemetry. It sits between your services and your backends, so you can route and transform data in one place.
Do I have to change my code to use OpenTelemetry?
Not always. Automatic instrumentation can produce telemetry without code changes, though manual instrumentation gives you more control over what is recorded.
Is OpenTelemetry related to OpenTracing or OpenCensus?
Yes. It was formed by merging OpenTracing and OpenCensus, which both aimed to solve the same instrumentation problem. Teams using either older project can migrate to OpenTelemetry.
Sources
This page is based on the official documentation below. Read it for full detail.
OpenTelemetry — official documentation ↗