GPU Hardware Telemetry
Collected for each detected GPU on Linux and Windows. Availability depends on vendor, OS, and GPU model.Device metrics
* Intel support depends on driver (i915/Xe) and kernel version.
† NVIDIA NVML reports fan speed as a percentage — use
hw.fan.speed_ratio; hw.fan.speed (rpm) is omitted for NVIDIA.
§ Requires OTEL_GPU_INTERCONNECT_ENABLED (default true).
¶ AMD XGMI / PCIe when the driver exposes counters.
‡ Soft / best-effort when the kernel exposes the counters.
* Intel device util/VRAM/power/throttle/media use Level Zero Sysman when available (Linux/Windows); otherwise DRM/hwmon/PDH subset. Encoder/decoder util comes from media engine groups or Windows PDH VideoEncode/VideoDecode.
† NVIDIA NVML exposes fan speed as a percentage, not RPM, so hw.fan.speed is not emitted for NVIDIA — use hw.fan.speed_ratio instead.
‡ Soft-omitted when the vendor library/driver path does not expose the counter. Core util/memory/power still collect without those libraries. Windows AMD has no PCIe/XGMI throughput API (ADL).
§ NVLink on Linux and Windows NVIDIA when the GPU exposes enabled NVLink links (rates after the second sample).
¶ AMD Linux via libamd_smi (amdsmi_get_gpu_pci_throughput, amdsmi_get_link_metrics, amdsmi_get_violation_status) when present; soft-omitted on VMs/consumer cards without those counters. AMD media util (MmActivity) is exported as hw.gpu.task=encoder when the driver only exposes a combined VCN counter (decoder stays unset).
Attributes
All GPU metrics carry these base attributes:
Additional per-metric attributes:
System Metrics
Collected on all platforms (Linux, macOS, Windows) via gopsutil. Follows the OTel semantic conventions for system metrics.system.memory.state values cached and buffers are only reported on Linux. Loopback interfaces (lo, lo0) are excluded from network metrics.Process Metrics
Self-monitoring of the collector process. Follows the OTel semantic conventions for process metrics.Per-process / per-pod GPU attribution
Collected on each scrape from NVML (NVIDIA) or DRM fdinfo (AMD/Intel). Requires host PID visibility — Docker--pid=host / Compose pid: host, or Kubernetes hostPID: true — so /proc shows workload PIDs. Without it, device-level hw.gpu.* metrics still work, but per-process cmdline, state (including zombies), and GPU process metrics will be missing or incomplete.
These attributes support views like zombie-process triage: filter process.state == "zombie" and show process.command_line, process.pid, process.owner, and process.uptime (age).
Attributes
process.start_time is not exported as a metric attribute (cardinality). Use process.uptime for lifetime. On MIG devices, NVML often provides memory only (no per-process SM util). Process util may not sum to device util (time-slicing / sampling windows differ). Use process.state == zombie to find defunct processes still holding GPU contexts.eBPF CUDA Metrics
Enable withOTEL_GPU_EBPF_ENABLED (on by default on Linux for serving+ / all modes; off in light). Soft-fails without caps. Discovers libcudart.so* (CUDA runtime API) and libcuda.so* (CUDA driver API) from common install paths and from /proc/*/maps (with Docker --pid=host / Kubernetes hostPID: true), so fleet DaemonSets do not need a CUDA toolkit mount. Driver-API probes extend coverage to frameworks that never load libcudart (llama.cpp, Ollama). Attaches uprobes/uretprobes for launches (cudaLaunchKernel, cudaLaunchKernelExC, cooperative, cuLaunchKernel, cuLaunchKernelEx), graph replays (cudaGraphLaunch, cuGraphLaunch), alloc/free, memcpy, stream/device/event sync, and cudaSetDevice. PIDs that map libcudart skip driver launch/graph events so runtime wrappers are not double-counted. AMD/Intel do not use this path — their per-process metrics come from DRM fdinfo.
Activity metrics
hw.id is set after cudaSetDevice for that thread, or immediately on single-GPU hosts. On multi-GPU hosts before cudaSetDevice, join via process.pid as before. Linux/NVIDIA (CUDA) only — same eBPF path for Kubernetes and non-Kubernetes when host PID is visible. AMD/Intel use device/process metrics via DRM fdinfo, not these kernel series.
Stream-sync occupancy model
These are CPU-side model estimates, not hardware SM occupancy (warps resident / max warps). Spans run from kernel launch to sync API return; thread-seconds are clamped to NVML CUDA core count and normalized so multi-process totals do not exceed device capacity.
Prefer NVML
process.gpu.utilization for sampled SM%. These estimates are not DCGM hw.gpu.sm.utilization / hw.gpu.sm.occupancy. Use them when NVML process util is unavailable or when correlating launch→sync activity with device util.
Known limits: no GPU completion signal (late sync inflates usage); cudaGraphLaunch / cuGraphLaunch is one composite span and gpu.graph.launch.calls counts replays, not kernels (no per-node kernels inside a graph); cudaStreamWaitEvent wait edges are not modeled; sync cudaMemcpy and default-stream sync are treated as device-wide (legacy default-stream semantics).
DCGM profiling (optional)
Enable withOTEL_GPU_DCGM_ENABLED=true. Soft-fails when libdcgm is missing. DCGM is optional — continuous clocks (graphics / sm / memory), util, and power work from NVML alone. Metrics carry gpu.measurement.source=dcgm. Set OTEL_GPU_DCGM_PREFER=true so DCGM owns overlapping IO / power / util / graphics clock / idle (NVML suppresses those series — single producer). Memory clock stays on NVML.
Control plane:
POST /v1/dcgm/pause and POST /v1/dcgm/resume (loopback OTEL_GPU_CONTROL_ADDR).
AMD RDC profiling (optional)
Enable withOTEL_GPU_RDC_ENABLED=true. Soft-fails when librdc is missing. Metrics carry gpu.measurement.source=rdc. Partition samples may set hw.parent.
Kineto on-demand profiling (optional)
Enable withOTEL_GPU_KINETO_ENABLED=true. Does not emit continuous metrics. Use the control API:
POST /v1/profile/gpu— match GPU PIDs and write on-demand libkineto config- Requires
OTEL_GPU_CONTROL_ADDR(loopback by default; setOTEL_GPU_CONTROL_ALLOW_REMOTE=true+ token for multi-node)
openlit.collector.profile.requests.
Multi-node fan-out (no always-on collector cost):
Intel PT on-demand (optional)
Enable withOTEL_HOST_INTEL_PT_ENABLED=true and a control address. Does not run continuously.
POST /v1/profile/cpu/ptwith{"duration_ms":500}- Requires Linux
intel_ptPMU andperfinPATH - Caps: duration, CPU count, AUX buffer pages (see configuration)
profile-fanout --profile cpu-pt ...
CPU PMU / uncore memory IO (optional)
Enable withOTEL_HOST_PMU_ENABLED=true.
TPU scrape (optional)
Enable withOTEL_TPU_ENABLED=true. Scrapes a Prometheus-format TPU endpoint (OTEL_TPU_ENDPOINT, default http://127.0.0.1:2112/metrics) and re-exports allowlisted series. Soft-fails when the endpoint is unreachable.
NIC / RDMA (optional)
Soft-omitted when sysfs/counters are unavailable.

