TracesMetricsLogs

OpenTelemetry – Open-Source Observability for Traces, Metrics and Logs

OpenTelemetry is the open standard for producing telemetry from your software. It gives you one set of APIs, SDKs and tools to generate traces, metrics and logs, then send them through the OpenTelemetry Collector to any backend you choose — Jaeger, Prometheus, Grafana or a commercial platform. Instrument once, avoid vendor lock-in and see how requests move through distributed systems. It is free, Apache-2.0 licensed and developed in the open as a CNCF project.

Downloads the OpenTelemetry Go source code (.zip, main branch) from the official GitHub repository — you stay on this page.

License
Apache 2.0
Runs on
Linux · macOS · Windows
Download
Go source .zip (main)

Illustration of a trace view as shown by a tracing backend — not a screenshot of a specific product.

Distributed tracingMetricsLogsOTLPCollector pipelinesContext propagationZero-code agentsSemantic conventionsKubernetesMicroservicesServerlessVendor-neutral

02features

How OpenTelemetry moves your telemetry

OpenTelemetry covers everything between your code and your observability backend. It deliberately stops there: storage, dashboards and alerting are left to the tools you choose.

Instrument

API, SDK or agent in your app

Export

OTLP over gRPC or HTTP

Collect

Receive, process, route

Observe

Any backend you choose

One vendor-neutral API

Instrument your code once with the OpenTelemetry API, then choose or change backends later without rewriting instrumentation.

Traces, metrics and logs together

All signals share the same resource and context model, so a log line can carry the trace ID of the request that produced it.

Zero-code instrumentation

Agents and auto-instrumentation capture HTTP, database and messaging calls in popular frameworks without changing source code.

Context propagation

Trace context flows across service boundaries over HTTP and messaging, connecting one user request through every hop.

The Collector

A standalone service that receives, processes and exports telemetry — batching, filtering, sampling and attribute enrichment in one pipeline.

OTLP protocol

The OpenTelemetry Protocol over gRPC or HTTP is the common format that SDKs, Collectors and many backends speak natively.

Semantic conventions

Standard attribute names (http.request.method, service.name and more) keep data consistent across languages and teams.

12+ language SDKs

Native SDKs for Go, Java, Python, JavaScript, .NET, C++, PHP, Ruby, Rust, Swift, Kotlin and Erlang/Elixir.

03download

OpenTelemetry download — official GitHub source

The main download is the source code of opentelemetry-go, the official Go API and SDK, packaged by GitHub as a .zip of the main branch. Click once: the file downloads straight from github.com/open-telemetry and you stay on this page.

curl -LO github.com/open-telemetry/opentelemetry-go/archive/refs/heads/main.zip

Download OpenTelemetry (.zip)

Downloads the OpenTelemetry Go source code (.zip, main branch) from the official GitHub repository — you stay on this page.

Project
OpenTelemetry (CNCF)
Package
opentelemetry-go source
Format
.zip archive
Version
main branch snapshot
License
Apache 2.0
Platforms
Linux, macOS, Windows
Requires
Supported Go release
Info checked
November 16, 2026

Other official OpenTelemetry packages

Official sources for other components (these open the official page in this tab)
ComponentWhat you getTypeLink
Go API & SDKgo get go.opentelemetry.io/otelGo moduleOpen
Collector (core / contrib)Linux, macOS, Windows binaries + container imagesRelease pageOpen
Java agentopentelemetry-javaagent.jar · Java 8+Release pageOpen
Pythonpip install opentelemetry-distroPyPI packageOpen
All languagesOfficial docs for 12+ languagesDocs pageOpen

The main-branch archive is a development snapshot. For pinned versions, use tagged releases on GitHub releases. File size varies as the repository changes.

04how to download

How to download OpenTelemetry safely

OpenTelemetry is not one program with one installer. It is a family of SDKs, agents and the Collector, each published by the project on GitHub and in language package registries.

The download button on this site fetches a source archive — nothing is installed automatically, and no security setting needs to be changed.

  1. Check what you need

    OpenTelemetry is a set of SDKs plus the Collector. Decide whether you need a language SDK (Go, Java, Python…), the Collector, or both. The Go source needs a supported Go toolchain to build.

  2. Choose the package

    The main button downloads the OpenTelemetry Go source as a .zip. For the Collector, the Java agent or Python, use the matching official package listed in the download section.

  3. Start the download

    Press Download. The file comes straight from the official open-telemetry GitHub repository and is saved by your browser — you stay on this page.

  4. Save and extract

    Save the .zip to a work folder and extract it. For real projects, most Go developers add the module with go get instead of using the archive.

  5. Verify the source

    Make sure the archive came from github.com/open-telemetry. For release binaries such as the Collector, compare the checksums published with each release.

05what it does

Three signals, one shared context

OpenTelemetry standardizes how software describes what it is doing. It is built for developers, platform teams and SREs running services they need to debug and measure. The main benefits are portability, consistent data across languages and a single pipeline for every signal. Learn how this site covers it on the About page.

Traces

A trace follows one request through every service it touches. Each step is a span with timing and attributes, so you can see exactly where 400 ms went.

Metrics

Counters, gauges and histograms measure things over time — request rate, error rate, latency, queue depth — cheap to store and ideal for alerts.

Logs

OpenTelemetry bridges your existing logging libraries and attaches trace and span IDs, so log lines line up with the request that produced them.

Realistic use cases

Most teams adopt OpenTelemetry to answer one question faster: why is this slow or failing? These are the situations where it pays off quickest.

  1. Debugging a slow microservice call chain

    A checkout takes three seconds. The trace shows the database span inside the cart service takes most of it — no guesswork across ten services.

  2. Switching observability vendors

    Because apps emit OTLP, moving from one backend to another means changing a Collector exporter, not re-instrumenting every service.

  3. Standardizing a polyglot platform

    Go, Java and Python services produce the same attribute names, so one dashboard and one alert rule work for all of them.

06installation

Install and send your first telemetry

No special system permissions are needed for SDKs. The Collector needs network ports — by default 4317 (OTLP/gRPC) and 4318 (OTLP/HTTP). Pick your language below.

Go
# add the API and SDK to your module
go get go.opentelemetry.io/otel \
       go.opentelemetry.io/otel/sdk \
       go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp

Using the downloaded .zip instead? Extract it and run go build ./... inside the folder.

Python
pip install opentelemetry-distro opentelemetry-exporter-otlp
opentelemetry-bootstrap -a install
opentelemetry-instrument python app.py

Zero-code: the instrument command wraps your app and exports via OTLP.

Java
# download opentelemetry-javaagent.jar from the releases page
java -javaagent:opentelemetry-javaagent.jar \
     -Dotel.service.name=my-service -jar myapp.jar

The agent attaches to any Java 8+ application without code changes.

Collector (Docker)
docker run -p 4317:4317 -p 4318:4318 \
  otel/opentelemetry-collector-contrib

Starts a Collector listening for OTLP on gRPC and HTTP.

  1. Set OTEL_SERVICE_NAME so your service is identifiable.
  2. Point OTEL_EXPORTER_OTLP_ENDPOINT at your Collector or backend.
  3. Send a few requests to your app to create traces.
  4. Open your backend (for example Jaeger) and find the service.

07compatibility

OpenTelemetry language support and requirements

Status per language and signal, copied from the official language status table on opentelemetry.io (checked November 16, 2026). Stability is set per SDK, so always check the components you use.

OpenTelemetry API & SDK status by language
LanguageTracesMetricsLogs
C++StableStableStable
C#/.NETStableStableStable
Erlang/ElixirStableDevelopmentDevelopment
GoStableStableRelease candidate
JavaStableStableStable
JavaScriptStableStableDevelopment
KotlinDevelopmentDevelopmentDevelopment
PHPStableStableStable
PythonStableStableDevelopment
RubyStableDevelopmentDevelopment
RustBetaStableStable
SwiftStableDevelopmentDevelopment
Platform requirements for the downloaded Go source and the Collector
ItemRequirementStatus
Go SDK — Go toolchainCurrently supported Go releases (each Go release is supported until two newer major releases exist)Supported
Go SDK — operating systemsTested on Linux, macOS and Windows (amd64 and other architectures listed in the README)Supported
CollectorBinaries for Linux, macOS, Windows; multi-arch container imagesSupported
Java agentJava 8 or later (some instrumentations need newer Java)Supported
Old Go releases no longer supported upstreamNot tested by the projectUnsupported
Mobile and embedded targetsDepends on language SDK (for example Swift for Apple platforms)Check per SDK

"Development" means the component is not yet stable and may change. These statuses describe the software — not this website's browser support.

08pros & cons

Strengths and trade-offs

Written as a diff: what adopting OpenTelemetry adds, and what it costs you in effort. Both sides come from the project's documentation and common production experience.

Strengths + adds

  • Free and Apache-2.0 licensed, governed openly under the CNCF.
  • Instrument once and change backends without touching application code.
  • Traces, metrics and logs share context, making correlation straightforward.
  • Widely supported: most observability vendors accept OTLP natively.
  • Zero-code options get useful data from day one.
  • The Collector centralizes sampling, filtering and routing.

Trade-offs − costs

  • No storage, dashboards or alerting — you still need a backend.
  • Maturity varies: logs remain in Development for several SDKs.
  • Many moving parts (SDKs, exporters, Collector config) to learn.
  • Frequent releases mean regular upgrades and occasional breaking changes in non-stable parts.
  • Badly tuned tracing can produce large data volumes and costs.
  • Auto-instrumentation adds some runtime overhead that should be measured.

09comparison

OpenTelemetry vs Prometheus, Jaeger and vendor agents

These tools often work together rather than compete. The table compares them on the same criteria so you can see where each fits.

Observability tooling comparison (checked November 16, 2026)
CriteriaOpenTelemetryPrometheusJaegerVendor agents
What it isInstrumentation standard, SDKs and CollectorMetrics monitoring system with time-series databaseDistributed tracing backend and UIProprietary collectors for one platform
SignalsTraces, metrics, logsMetricsTracesVaries by vendor
Collection modelMainly push (OTLP); can scrape PrometheusPull (scrape); push via PushgatewayReceives traces (accepts OTLP)Usually push to vendor
Storage & UINone built inYes, PromQLYesVendor cloud
LicenseApache 2.0Apache 2.0Apache 2.0Proprietary (often)
Vendor neutralityHighHighHighLow

Deeper reads: OpenTelemetry vs Prometheus and OpenTelemetry vs Grafana.

10troubleshooting

Common OpenTelemetry problems and fixes

Most issues are configuration: wrong endpoint, wrong protocol or a missing service name. Check release notes on each repository's GitHub releases page before upgrading.

ERRORexporter: connection refused :4317

No data reaches the backend

Cause: the Collector is not running, or the endpoint/port is wrong.

Fix: confirm the Collector is up, then check OTEL_EXPORTER_OTLP_ENDPOINT points to it.

ERRORhttp: 415 / unexpected content-type

gRPC vs HTTP mismatch

Cause: sending OTLP/HTTP to the gRPC port (4317) or the reverse.

Fix: use 4318 for HTTP, 4317 for gRPC, and set OTEL_EXPORTER_OTLP_PROTOCOL to match.

WARNservice.name=unknown_service

Services appear as "unknown_service"

Cause: no service name was configured.

Fix: set OTEL_SERVICE_NAME or the service.name resource attribute.

WARNtrace broken across services

Traces stop at a service boundary

Cause: context is not propagated, or services use different propagators.

Fix: instrument the HTTP/messaging client and server, and use W3C Trace Context everywhere.

WARNexporter queue is full, dropping data

Dropped spans under load

Cause: export cannot keep up with volume.

Fix: add the batch processor, apply sampling, and scale the Collector.

ERRORgo: module requires go >= …

Go source will not build

Cause: your Go toolchain is older than the versions the SDK supports.

Fix: upgrade Go, or pin an older tagged release of the SDK.

Best practice: pin versions in production, upgrade SDK and Collector deliberately after reading the official release notes, keep your Collector configuration in version control, and start with a modest sampling rate before turning everything on.

11perspectives

Editorial perspectives by role

Written by our editorial team to show how different roles tend to use OpenTelemetry. These are scenarios, not user reviews or quotes.

Editorial · Backend developer

"Where did the time go?"

A developer adds the SDK or an agent, sets a service name and immediately gets spans for HTTP and database calls. Manual spans around key business steps add the context auto-instrumentation cannot know.

Editorial · Platform engineer

One pipeline for every team

The platform team runs Collectors as agents and gateways, enforces sampling and attribute rules centrally, and lets each team choose its language without breaking dashboards.

Editorial · SRE

Faster incident triage

During an incident, an SRE jumps from a latency alert to the matching trace, then to the correlated logs — the shared context is what makes that one click instead of three tools.

12faq

OpenTelemetry FAQs

Download, licensing, languages, the Collector, updates and support. For long-form answers, visit the OpenTelemetry guides.

Is OpenTelemetry free to download and use?

Yes. OpenTelemetry is open-source software under the Apache License 2.0. The SDKs, the Collector and the specification are free, including for commercial use. You only pay if you choose a paid backend to store and analyse the data.

What does the download button on this site give me?

It downloads the source code of the OpenTelemetry Go API and SDK (the main branch) as a .zip from the official GitHub repository. It is a source snapshot, not an installer. For production Go apps, add the module with go get go.opentelemetry.io/otel.

Which programming languages does OpenTelemetry support?

Official SDKs exist for C++, .NET, Erlang/Elixir, Go, Java, JavaScript, Kotlin, PHP, Python, Ruby, Rust and Swift. Stability differs per language and per signal — see the compatibility table above.

Is OpenTelemetry a replacement for Prometheus?

Not exactly. Prometheus stores and queries metrics; OpenTelemetry generates and transports traces, metrics and logs but has no database. Many teams use both. Read OpenTelemetry vs Prometheus.

What does OpenTelemetry collect?

Traces (the path of a request across services), metrics (numbers over time such as latency or error rate) and logs, all sharing the same resource attributes and context. Profiles are under development. Details in what OpenTelemetry collects.

Do I need the OpenTelemetry Collector?

It is optional but recommended. SDKs can export straight to a backend, but a Collector lets you batch, filter, add attributes, sample and send data to several backends without changing application code.

Can I use OpenTelemetry without changing my code?

Often, yes. Zero-code instrumentation exists for several languages — for example the Java agent (any Java 8+ app) and opentelemetry-instrument for Python. You can add manual spans later for business-specific detail.

Does OpenTelemetry work on Windows, macOS and Linux?

Yes. The SDKs run wherever their language runtime runs, and the Collector is published as binaries for Linux, macOS and Windows plus container images. The Go SDK is tested on Linux, macOS and Windows.

How do I update OpenTelemetry?

Update SDKs through your language's package manager (go get -u, Maven/Gradle, pip, npm) and the Collector by installing a newer release. Read each project's release notes on GitHub before upgrading, especially for Development or Beta components.

Can I use the OpenTelemetry logo?

The OpenTelemetry name and logo are trademarks of The Linux Foundation. Follow the project's and the Linux Foundation's trademark guidelines if you want to use them in your own materials.

Where can I get help?

The official documentation at opentelemetry.io, the GitHub issue trackers of each repository and the CNCF Slack #opentelemetry channels are the main community support routes.

13get started

Instrument once. Observe everywhere.

Get the official OpenTelemetry Go source and start sending traces, metrics and logs to the backend of your choice.

Apache 2.0Linux · macOS · WindowsSource .zip from GitHub

Download OpenTelemetry

Downloads the OpenTelemetry Go source code (.zip, main branch) from the official GitHub repository — you stay on this page.