Automatic instrumentation for Linux hosts
The new Dash0 Linux packages instrument every Java, .NET, Node.js, Python and Ruby application on a Linux host with a single apt or dnf command.
On Kubernetes, the Dash0 Operator has made automatic instrumentation a matter of installing a Helm chart. Applications running directly on virtual machines and bare-metal hosts had no equivalent: every service needed an SDK or an agent wired into its start command or its service definition.
The new Dash0 Linux packages close that gap.
Install dash0-opentelemetry, and every Java, .NET, Node.js, Python and Ruby application that starts on the host sends its telemetry to Dash0.
No changes to the applications' code, their start commands or their service definitions.
How does it work?
You install the packages, point them at Dash0, restart the processes you want to monitor, and their telemetry flows to Dash0.
Under the hood, it is the same technology the Dash0 Operator uses to instrument workloads on Kubernetes, packaged for Linux hosts.
The Dash0 Linux packages are the Dash0 version of the packages of the OpenTelemetry Packaging SIG , which we are building together with the community. They use the same OpenTelemetry Injector and the same file locations, with the Dash0 distributions doing the instrumentation.
How do you try it?
Add the Dash0 repository and install the packages as root.
Debian, Ubuntu and derivatives
curl -fsSL https://packages.dash0.com/dash0-archive-keyring.pgp \
-o /usr/share/keyrings/dash0-archive-keyring.pgp
cat > /etc/apt/sources.list.d/dash0.sources <<'EOF'
Types: deb
URIs: https://packages.dash0.com/apt
Suites: stable
Components: main
Signed-By: /usr/share/keyrings/dash0-archive-keyring.pgp
EOF
apt-get update && apt-get install dash0-opentelemetryFedora, RHEL, Amazon Linux and other RPM-based distributions
mkdir -p /etc/pki/rpm-gpg
curl -fsSL https://packages.dash0.com/dash0.asc \
-o /etc/pki/rpm-gpg/RPM-GPG-KEY-dash0
cat > /etc/yum.repos.d/dash0.repo <<'EOF'
[dash0]
name=Dash0
baseurl=https://packages.dash0.com/rpm/packages
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-dash0
EOF
dnf install dash0-opentelemetryConfigure and restart
Set your Dash0 endpoint and auth token in /etc/opentelemetry/injector/default_env.conf, and restart the processes you want instrumented.
The Linux packages integration in Dash0 shows that file with your endpoint, auth token and dataset already filled in.
If you want more control than environment variables give you, each language package also ships an OpenTelemetry declarative configuration file at /etc/opentelemetry/<language>/otel-config.yaml.
The packages instrument processes that run directly on the host, not in containers. We discourage installing them into container images: the instrumentation then becomes part of every image, and updating it means rebuilding them all. On Kubernetes, use the Dash0 Operator, which adds the same instrumentation to your workloads when they start, without changing your images.
Want to know more about the Dash0 Linux packages?
The Linux packages documentation covers the details, including how to install only the languages you need.