Installation
Add the OpenTelemetry package repository and install the system packages on Debian, Ubuntu, Fedora, or RHEL and derivatives.
You are viewing the English version of this page because it has not yet been fully translated. Interested in helping out? See Contributing.
Setting up OpenTelemetry usually depends on where your applications run. Some environments are highly automated, such as Kubernetes, thanks to the OpenTelemetry Operator, or Functions as a Service with the OpenTelemetry Lambda layers. But many Java, .NET, Node.js, and Python applications run directly on Linux hosts, where instrumenting them has traditionally meant downloading agents by hand and wiring up environment variables yourself.
The OpenTelemetry Packaging SIG provides system packages that make OpenTelemetry a dependency of the host itself. After installing a single package and restarting your applications, the Java, .NET, Node.js, and Python processes on the host are automatically instrumented and start emitting telemetry.
The opentelemetry package is a metapackage that depends on:
Once installed, the injector attaches to every newly started, dynamically linked
process on the host. It only has a visible effect on processes of a supported
runtime, loading the matching auto-instrumentation for them; processes of
runtimes without an OpenTelemetry SDK are left unaffected. Applications that
were already running are instrumented after they are restarted. By default,
telemetry is exported using OTLP to localhost on ports 4317 (gRPC) and
4318 (HTTP), so you typically run a local
OpenTelemetry Collector to receive and forward it. The
Collector itself is distributed as system packages by the
OpenTelemetry Collector Releases
project; integrating it into this system-package repository is tracked in
opentelemetry-collector-releases#1561.
The Packaging and OBI SIGs also plan to deliver OpenTelemetry eBPF Instrumentation as a system package, extending zero-code instrumentation to additional runtimes such as Go, Rust, and C++.
The system packages are early in their journey and are not yet meant for production workloads. Expect changes as the packaging story matures.
Specifically:
The Packaging SIG is actively looking for end-user feedback. Please try the packages and open issues in the opentelemetry-packaging repository.
Add the OpenTelemetry package repository and install the system packages on Debian, Ubuntu, Fedora, or RHEL and derivatives.
Point the OpenTelemetry Injector at your Collector or backend and control what gets instrumented on a Linux host.
Was this page helpful?
Thank you. Your feedback is appreciated!
Please let us know how we can improve this page. Your feedback is appreciated!