l9gpu
GPU observability agent with Kubernetes and Slurm workload attribution
TLDR
SYNOPSIS
l9gpu subcommand [options]Common subcommands: nvmlmonitor, amdmonitor, gaudimonitor, slurmmonitor and others.
DESCRIPTION
l9gpu is the core CLI for Last9 GPU Telemetry. It runs as a per-node agent that collects hardware metrics (NVML, amdsmi, hl-smi) from GPUs and enriches them with workload context from Kubernetes or Slurm before exporting standard OpenTelemetry (OTLP) metrics and logs.This enables per-pod, per-job, per-user GPU accounting without building custom pipelines. It supports NVIDIA, AMD, and Intel Gaudi GPUs and integrates with any OTLP-compatible backend.The package also provides related health check tooling.
PARAMETERS
--sink otel|stdout|file
Destination for telemetry (otel recommended for production).--cluster name
Cluster identifier attached to emitted data.--once
Run a single collection cycle and exit (useful for testing).Other options and subcommands are listed via `l9gpu --help`.Configuration can also be supplied via TOML files.
CAVEATS
Requires appropriate vendor libraries or tools (NVML for NVIDIA, etc.) and Python 3.10+. Primarily intended for cluster operators; not a replacement for DCGM or full Prometheus exporters. Emits OTLP; a collector is typically used downstream for storage/visualization.
SEE ALSO
nvidia-smi(1)
