Pcornel
Browse topics
Options
Recent
Favorites
Observability · Technical reference

OpenTelemetry

Direct answer

OpenTelemetry (OTel) is a vendor-neutral standard of APIs, SDKs, semantic conventions, the OTLP protocol and the Collector for producing and shipping metrics, logs and traces.

When to use this

Use it to instrument applications and route telemetry to any backend.

First 30 seconds

1. Collector running: otelcol --config config.yaml validate and its health endpoint.

2. Service sets OTEL_SERVICE_NAME.

3. Exporter endpoint and protocol correct.

4. Data visible in backend.

5. Collector self-metrics for drops.

Operational verification

SDK/auto-instrumentation → OTLP → Collector (receivers, processors, exporters) → backends

Evidence · next step

Typical failures are endpoint/protocol mismatches, TLS/auth errors, processors dropping/renaming fields, exporter backpressure, excessive batching memory, duplicate agent+SDK instrumentation and believing successful export means the backend indexed the data. Preserve the first divergent observation and repeat the same bounded verification after remediation.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
What not to infer

Observability owns OpenTelemetry pipeline mechanics. Application/runtime Domains own instrumentation placement and the meaning of emitted state.

Platform / version applicability
OpenTelemetry / Prometheus / Grafana / common metrics-log-trace pipelines
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformOpenTelemetry / Prometheus / Grafana / common metrics-log-trace pipelines · Observability owns OpenTelemetry pipeline mechanics. Application/runtime Domains own instrumentation placement and the meaning of emitted state.
Scope / prerequisiteUse it to instrument applications and route telemetry to any backend.
What next?3 suggested next steps
Child topics (this level)3
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification workflow Verify boundary

Trace one sample from instrumentation to Collector receiver, processor pipeline and exporter. Check Collector health/logs, queue/retry/drop counters, resource attributes and backend arrival. Compare agent and gateway responsibility so failures are localized to the right hop.

Step 2 Failure signatures and limits Narrow the fault

Typical failures are endpoint/protocol mismatches, TLS/auth errors, processors dropping/renaming fields, exporter backpressure, excessive batching memory, duplicate agent+SDK instrumentation and believing successful export means the backend indexed the data.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

test · 1
Drill down

Subtopics

Go one level deeper into this subject.

Key points

Set service.name and resource attributes on every service. Send to a local Collector rather than directly to vendors. Follow semantic conventions for attribute names.

Key checks
  • otelcol --config config.yaml validate — first check for this topic
  • curl -s localhost:9090/-/ready — Prometheus ready
  • curl -s 'localhost:9090/api/v1/query?query=up' — scrape targets up/down
  • promtool check config prometheus.yml — config valid
ReferenceWhat it is1 section · depth on demand

Operating model

OpenTelemetry standardizes instrumentation and telemetry transport across traces, metrics and logs. Applications/agents emit through APIs/SDKs or receivers; Collectors receive, process and export data. OTLP is a transport/protocol choice, not a backend or guarantee that telemetry was stored/queryable.

ReferenceHow it works1 section · depth on demand

In depth

OpenTelemetry (OTel) is the open, vendor-neutral standard for generating and collecting telemetry — traces, metrics and logs — with APIs, SDKs for many languages, automatic instrumentation and the OpenTelemetry Collector. It avoids lock-in to a single monitoring vendor's agents.

ComponentRole
API/SDKInstrument applications
Auto-instrumentationZero-code instrumentation for common frameworks
OTLPStandard protocol for sending telemetry
CollectorReceive, process (batch, filter, enrich, sample) and export to back ends
Semantic conventionsStandard attribute names (service.name, http.response.status_code)
# otel-collector config (excerpt)
receivers: { otlp: { protocols: { grpc: {}, http: {} } } }
processors: { batch: {}, memory_limiter: { check_interval: 1s, limit_percentage: 80 } }
exporters: { otlphttp: { endpoint: https://otel-backend.example.com } }
service:
  pipelines:
    traces: { receivers: [otlp], processors: [memory_limiter, batch], exporters: [otlphttp] }
ReferenceImportant terms & boundaries1 section · depth on demand

Scope map

  • API/SDK responsibility
  • Collector architecture
  • OTLP
  • Receivers
  • Processors
  • Exporters
  • Agent vs gateway deployment
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical examples

Configuration & expected output

Concrete examples are shown only when the stored reference contains an actual configuration or output shape for this Topic.

Configuration example

OpenTelemetry Collector Collector 0.100 or laterMinimal collector pipeline: OTLP in, batch, export.

Assumptions: Backends reachable at the given endpoints.

receivers:
  otlp:
    protocols:
      grpc: {endpoint: 0.0.0.0:4317}
      http: {endpoint: 0.0.0.0:4318}
processors:
  memory_limiter: {check_interval: 1s, limit_mib: 512}
  batch: {}
exporters:
  otlphttp/traces: {endpoint: http://tempo:4318}
  prometheusremotewrite: {endpoint: http://prometheus:9090/api/v1/write}
service:
  pipelines:
    traces:  {receivers: [otlp], processors: [memory_limiter, batch], exporters: [otlphttp/traces]}
    metrics: {receivers: [otlp], processors: [memory_limiter, batch], exporters: [prometheusremotewrite]}

Expected output

OpenTelemetry Collector Collector 0.100 or latercurl -s http://localhost:8888/metrics | grep -E "otelcol_exporter_(sent|send_failed)_spans"

Expected state: Spans are sent and none fail to export.

otelcol_exporter_sent_spans{exporter="otlphttp/traces"} 17990
otelcol_exporter_send_failed_spans{exporter="otlphttp/traces"} 0
Accepted at the receiver but failed at the exporter means data is being dropped inside the collector. Illustrative authored output: field layout matches the tool, values will differ in your environment.
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-29 · otherOpenTelemetry / Prometheus / Grafana ecosystem OpenTelemetry current documentation

Documentation verification: confirms the upstream model used by the Topic. It does not assert local production behavior.

Basis: https://opentelemetry.io/docs/ · confidence 92%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
opentelemetryOpenTelemetryOTel CollectorOTLP
Embedded reference data

Quick lookup tables

OpenTelemetry verification boundary matrix

A compact lookup separating intent, owning component state, effective state and consumer-visible outcome for OpenTelemetry.

BoundaryInspectHealthy interpretationDo not infer
IntentAPI/SDK responsibilityIntended object/scope is explicit and versioned where relevantIntent is already effective
Owning runtime/control planeCollector architecture / OTLPOwner accepts and reports the expected object stateDownstream dependencies are healthy
Effective stateReceiversIndependent read-back matches the intended stateEvery client sees the same result
Consumer outcomeProcessorsThe original bounded check succeeds in the same time windowProduction correctness outside this scope
Depth when you need it

Deep reference

Design & tradeoffs

Scope

Observability owns OpenTelemetry pipeline mechanics. Application/runtime Domains own instrumentation placement and the meaning of emitted state.

Confirmation

Confirm action

Continue?