Dash0 Linux Packages
DEB and RPM packages that auto-instrument the .NET, Java, Node.js, Python and Ruby processes running directly on a Linux host with the Dash0 OpenTelemetry distributions. No code changes required.
Overview
Install one package, and every Java, .NET, Node.js, Python and Ruby application on a Linux host sends its telemetry to Dash0. You don't change the applications' code, their start commands or their service definitions, and there is no agent to wire into each service.
The packages put the OpenTelemetry injector and the Dash0 distributions of the OpenTelemetry SDKs on the host. From then on, the injector instruments every process that starts, with the distribution for its runtime. They come as DEB and RPM packages for Debian, Ubuntu, Fedora, RHEL and Amazon Linux.
You can learn more about the Dash0 Linux packages in our documentation.
The packages instrument processes that run directly on the host, not in containers. On Kubernetes, use the Dash0 Kubernetes Operator instead.
Use Cases
- Instrument the .NET, Java, Node.js, Python and Ruby processes on virtual machines and bare-metal servers without changing their code
- Monitor every process on a host from one configuration file,
/etc/opentelemetry/injector/default_env.conf - Track the requests, database calls and errors of services managed by systemd or other init systems
- Understand how the services on a host depend on each other through distributed traces
- Keep instrumentation up to date with the host's regular package upgrades
Setup
Overview
Setting up a host takes two steps: add the Dash0 repository and install the dash0-opentelemetry package, then set the
Dash0 endpoint and your auth token in the injector's configuration file. The commands below have your Dash0 endpoint,
auth token and dataset filled in.
Add the Dash0 repository and install the packages
The commands below need curl, and sudo or a root shell. Install curl first if the host does not have it.
On a Debian or Ubuntu host:
sudo curl -fsSL https://packages.dash0.com/dash0-archive-keyring.pgp \
-o /usr/share/keyrings/dash0-archive-keyring.pgp
sudo tee /etc/apt/sources.list.d/dash0.sources > /dev/null <<'EOF'
Types: deb
URIs: https://packages.dash0.com/apt
Suites: stable
Components: main
Signed-By: /usr/share/keyrings/dash0-archive-keyring.pgp
EOF
sudo apt-get update && sudo apt-get install dash0-opentelemetryOn a Fedora, RHEL or Amazon Linux 2023 host:
sudo mkdir -p /etc/pki/rpm-gpg
sudo curl -fsSL https://packages.dash0.com/dash0.asc \
-o /etc/pki/rpm-gpg/RPM-GPG-KEY-dash0
sudo tee /etc/yum.repos.d/dash0.repo > /dev/null <<'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
sudo dnf install dash0-opentelemetryOn an RPM host that already has the upstream opentelemetry-injector, replacing it with dash0-injector in one
transaction leaves nothing instrumented until the injector package is reinstalled. See the RPM
limitation
for how to avoid it.
Configure where telemetry goes
Set the Dash0 endpoint and your auth token in /etc/opentelemetry/injector/default_env.conf:
OTEL_EXPORTER_OTLP_ENDPOINT={{endpoint_otlp_http}}
OTEL_EXPORTER_OTLP_HEADERS=Authorization=Bearer%20{{token}},Dash0-Dataset={{dataset}}Write the space in Bearer <token> as %20. The injector applies this file to every process it instruments, so restart
the processes for the settings to take effect. A variable set in this file replaces the value a process sets itself, for
example in its systemd unit, so set only what applies to every process on the host here.
The Dash0-Dataset header selects the dataset the telemetry goes to. For more information, see the
dataset documentation.
Next steps
The injector can add monitoring to processes only at their startup. After installing the packages, the processes you want to be monitored need to be restarted.