What is OpenTelemetry? Traces, metrics and logs explained

OpenTelemetry is the open standard for getting telemetry out of your applications: traces, metrics and logs, in one format, sent wherever you like. If you're asking what is OpenTelemetry and why everyone now instruments with it, this post covers what it does, how the pieces fit, a small working example and how to get started.
It's a CNCF graduated project. Our OpenTelemetry project page has its links and every post we've written about it.
Key points
- OpenTelemetry (often "OTel") is a framework and toolkit for generating, exporting and collecting telemetry. It's open source and vendor-neutral.
- It is not a backend. It doesn't store or display data; tools such as Prometheus and Jaeger, or commercial services, do that.
- The main pieces: the APIs and language SDKs, zero-code instrumentation, the OTLP protocol and the Collector.
- It joined the CNCF on 7 May 2019, moved to incubating on 26 August 2021 and graduated on 11 May 2026.
- There's a matching certification: the OpenTelemetry Certified Associate (OTCA).
What is OpenTelemetry, and what problem does it solve
Before OpenTelemetry, every monitoring vendor had its own agent and its own libraries. Switching vendor meant re-instrumenting your code. Tracing was split between two open projects, OpenTracing and OpenCensus, which did similar jobs in different ways.
OpenTelemetry merged those two projects and set out one way to produce telemetry. You instrument once, with OTel's APIs or its automatic instrumentation, and send the data in a standard format (OTLP) to whichever backend you choose. Change the backend and the code stays the same.
It covers three signals:
- Traces: the path of one request through your services, made of spans.
- Metrics: numbers over time, such as request rate or memory use.
- Logs: timestamped records, linked to traces where possible.
Maturity: from sandbox to graduated
According to its CNCF project page, OpenTelemetry was accepted into the CNCF on 7 May 2019, moved to incubating on 26 August 2021 and graduated on 11 May 2026. The CNCF announced the graduation on 21 May 2026. If you want a refresher on what those levels mean, see our explainer on CNCF sandbox, incubating and graduated projects.
How OpenTelemetry works
The project documentation lists the parts. The ones you'll touch first:
- APIs and SDKs. Each supported language has an API (what your code calls to create spans and metrics) and an SDK (which implements it and exports the data).
- Instrumentation libraries and zero-code instrumentation. Ready-made instrumentation for common frameworks, plus agents that add it without changing your code.
- Semantic conventions. Standard names for common telemetry data, so the same attribute means the same thing in every service.
- OTLP. The OpenTelemetry Protocol: the shape of the data on the wire.
- The Collector. A separate process that receives telemetry, processes it and exports it to one or more backends.
- Kubernetes tooling. The OpenTelemetry Operator and Helm charts.
The Collector
The Collector is where most of the configuration lives. It's built from pipelines, one per signal, each made of components:
- receivers take data in (pushed to them, or pulled);
- processors filter, rename or transform it;
- exporters send it to backends;
- connectors join one pipeline to another;
- extensions add things like health checks.
Here's a minimal configuration, close to the example in the Collector docs. It accepts OTLP over gRPC on port 4317 and HTTP on 4318, and forwards all three signals to another endpoint:
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
exporters:
otlp_grpc:
endpoint: otelcol:4317
sending_queue:
batch:
extensions:
health_check:
endpoint: 0.0.0.0:13133
service:
extensions: [health_check]
pipelines:
traces:
receivers: [otlp]
exporters: [otlp_grpc]
metrics:
receivers: [otlp]
exporters: [otlp_grpc]
logs:
receivers: [otlp]
exporters: [otlp_grpc]
Running the Collector as a gateway like this means your applications only need to know one address. Retries, batching and the choice of backend move out of the application.
A small example: tracing a Python app without code changes
The quickest way to see OpenTelemetry work is zero-code instrumentation. For a Python app, from the project docs:
pip install opentelemetry-distro opentelemetry-exporter-otlp
opentelemetry-bootstrap -a install
opentelemetry-instrument \
--traces_exporter console,otlp \
--metrics_exporter console \
--service_name your-service-name \
--exporter_otlp_endpoint 0.0.0.0:4317 \
python myapp.py
opentelemetry-bootstrap installs instrumentation for the libraries it finds in your environment. Spans print to the console and also go over OTLP to a Collector on port 4317. Change the exporter and nothing in myapp.py changes.
The same thing on Kubernetes
On Kubernetes, the OpenTelemetry Operator does this for you. You create an Instrumentation resource:
apiVersion: opentelemetry.io/v1alpha1
kind: Instrumentation
metadata:
name: demo-instrumentation
spec:
exporter:
endpoint: http://demo-collector:4318
propagators:
- tracecontext
- baggage
sampler:
type: parentbased_traceidratio
argument: "1"
Then annotate the Pods you want instrumented, for example instrumentation.opentelemetry.io/inject-python: "true" (there are equivalents for Java and other languages). The Operator injects the instrumentation when the Pod starts.
How OpenTelemetry relates to Prometheus, Jaeger and others
OpenTelemetry sits in front of your backends, not in place of them. Prometheus still stores and queries metrics; Jaeger still stores and shows traces. The difference is how the data gets there. If you're new to Prometheus, our Prometheus explainer covers that half of the picture.
Reality check: adopting OpenTelemetry doesn't give you observability by itself. You still need a backend, sensible sampling and dashboards people actually read. What it gives you is the freedom to change those later without re-instrumenting everything.
How to get started with OpenTelemetry
- Read the "What is OpenTelemetry?" page in the docs, then the getting-started guide for your language.
- Run the zero-code example above against a local Collector with a console or debug exporter.
- Put a Collector in front of the backend you already have, and send one service's traces through it.
- On Kubernetes, install the Operator and try an
Instrumentationresource on a test namespace. - Keep our OpenTelemetry project page handy for links and related posts.
If you want a certificate to show for it, the OpenTelemetry Certified Associate (OTCA) is a 90-minute, online, multiple-choice exam. Its domains are Fundamentals of Observability (18%), the OpenTelemetry API and SDK (46%), the OpenTelemetry Collector (26%) and Maintaining and Debugging Observability Pipelines (10%). Pro tip: almost half the exam is the API and SDK, so write a little manual instrumentation, not only the zero-code kind. The Linux Foundation's course Getting Started with OpenTelemetry (LFS148) is a sensible first step.
FAQ
What is OpenTelemetry used for? Producing and collecting traces, metrics and logs from applications and infrastructure in one standard format, so you can send them to any compatible backend.
Is OpenTelemetry a replacement for Prometheus? No. OpenTelemetry collects and exports telemetry; Prometheus stores and queries metrics. They're often used together.
What is the OpenTelemetry Collector? A standalone service that receives telemetry, processes it (filtering, batching, enriching) and exports it to one or more backends.
Is OpenTelemetry a CNCF graduated project? Yes. It graduated on 11 May 2026, after joining in 2019 and reaching incubating in 2021.
How much does the OTCA exam cost? US$250 at list price, with one retake included.
Pick one service this week and get its first trace into a Collector.
Sources
- OpenTelemetry project page, CNCF
- Cloud Native Computing Foundation announces OpenTelemetry's graduation, CNCF
- What is OpenTelemetry?, OpenTelemetry docs
- Collector configuration, OpenTelemetry docs
- Python zero-code instrumentation, OpenTelemetry docs
- Injecting auto-instrumentation, OpenTelemetry Operator docs
- OpenTelemetry Certified Associate (OTCA), Linux Foundation Training