Skip to content
IT glossary
DevOps and cloudUpdated December 3, 2026

OpenTelemetry

An open set of standards and tools for collecting and sending data about how software runs, including metrics, logs, and traces.

Also known as: OTel

What OpenTelemetry does

OpenTelemetry (OTel) gives applications a common way to produce and export telemetry. Metrics summarize behavior over time, such as request volume and response times. Logs describe individual events. A trace follows a request or other unit of work through a system and is made up of spans, each representing a timed operation such as an HTTP call or a database query.

OTel is not the place where engineers store telemetry, run queries, or build dashboards. It supplies the data to systems that do those jobs. For example, an application can send traces to Jaeger through an OpenTelemetry Collector without having to use Jaeger's own instrumentation in its application code.

From application code to a backend

Instrumentation is the code that produces telemetry. Automatic instrumentation can cover supported frameworks and libraries, such as HTTP servers and database clients. Developers can use the OTel API to add operations that a framework would not know about, such as reserving stock for an order. The SDK handles tasks such as processing and exporting data. Semantic conventions give common operations and attributes consistent names and meanings across services.

An application can export directly to a compatible backend or send its data through the optional OpenTelemetry Collector. The Collector receives telemetry, can process it (for example, by batching records or dropping selected attributes), and forwards it to one or more destinations. OTLP is the protocol used to carry OpenTelemetry data over gRPC or HTTP; it is not the same thing as the Collector.

Example: investigating a slow checkout

A latency metric shows that checkout requests have slowed down since a deployment. An engineer opens a slow trace and sees that the checkout service spent most of the request waiting for inventory. The inventory service's spans show that its database query took only a few milliseconds, so the engineer looks at work outside that query rather than assuming the database is the bottleneck.

Those spans appear together because checkout passed trace context in the outgoing request, typically through the traceparent header when using W3C Trace Context. Inventory extracted it and created spans with the same trace ID. If the services include that ID in their logs, the engineer can also find log records for the request.

Common pitfalls and interview questions

Avoid using an order ID as a metric attribute: each distinct combination of attribute values can create another time series. Keep secrets and sensitive payloads out of telemetry. Sampling can lower the cost of collecting traces, but a sampled-out request may leave no trace to inspect.

An interviewer might ask why two instrumented services produce separate traces for the same request. Start by checking whether the caller injects context and the receiver extracts it. Trace context travels with the application request; OTLP carries telemetry to a Collector or backend. Getting one of those paths right does not fix the other.