Docker (recommended)
The easiest way to run the collector. The image is published to GitHub Container Registry and supportslinux/amd64 and linux/arm64.
Tags
| Tag | Description |
|---|---|
latest | Most recent release |
1.2.3 | Specific version |
1.2 | Latest patch of a minor version |
Pre-built binaries
Download a binary for your platform from the GitHub Releases page. Binaries are available for:| Platform | Architecture |
|---|---|
| Linux | amd64, arm64, armv7 |
| macOS | amd64 (Intel), arm64 (Apple Silicon) |
| Windows | amd64, arm64 |
GPU metrics (NVML, sysfs) and eBPF tracing only work on Linux. On macOS and Windows the binary runs with host and process metrics only.
SHA256SUMS.txt file in the release:
Build from source
Requirements: Go 1.21+, CGO enabled (required for NVML on Linux).Upgrade
Docker
Binary
Download the new binary from the Releases page, replace the existing file, and restart the process.Uninstall
Docker
Binary
Troubleshooting
No GPU metrics — collector starts but reports no hw.gpu.* metrics
No GPU metrics — collector starts but reports no hw.gpu.* metrics
- Confirm the host has a supported GPU:
lspci | grep -E 'VGA|3D|Display' - For NVIDIA: verify
libnvidia-ml.sois present:ldconfig -p | grep nvidia-ml - For Docker: ensure
--gpus all(NVIDIA) or--device /dev/dri(AMD/Intel) is passed - Check logs:
docker logs otel-gpu-collectorfor"discovered GPU"entries
eBPF tracing not working
eBPF tracing not working
- Confirm
OTEL_GPU_EBPF_ENABLED=trueis set - Check kernel version:
uname -r(requires 5.8+) - The process needs
CAP_BPFandCAP_PERFMON, or run as root - For Docker: add
--privilegedor--cap-add CAP_BPF --cap-add CAP_PERFMON - Verify
libcudart.sois present on the host:ldconfig -p | grep cudart
Connection refused / no data reaching backend
Connection refused / no data reaching backend
- Verify
OTEL_EXPORTER_OTLP_ENDPOINTis reachable from the container:curl http://<endpoint>/health - For Docker networking: use the host IP or service name, not
localhost - Check if gRPC vs HTTP/protobuf matches the backend: set
OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuffor HTTP backends (port 4318)
Intel GPU not detected
Intel GPU not detected
- Verify the i915 or Xe driver is loaded:
lsmod | grep -E 'i915|xe' - Check DRM entries exist:
ls /sys/class/drm/ - Requires Linux kernel 5.10+ for sysfs metric exposure
- Fan speed requires kernel 6.16+

