Enable GPU metrics
The exporter and its scrape target are disabled by default. Add both settings to your operator values file. The chart targets GPU nodes by default.What is measured
CostGraph shows utilization, framebuffer memory, and power, plus the health and activity signals your hardware supports. These include temperature, XID errors, clock speeds, and encoder, decoder, and memory-copy activity. Energy charts show joules, converted from DCGM’s millijoules. PCIe byte readings cover the device’s sampling window. They are not cumulative counters.How an unmeasured card is reported
Missing readings have a state instead of a zero value. Use the state to decide whether to check collection or the device’s capabilities.
Available signals depend on the GPU, driver, and exporter configuration.
Opt-in profiling counters
SM active, SM occupancy, and PCIe byte readings require a separate profiling exporter. Enable it and its scrape target in your operator values.dcgmProfiling.nodeSelector to limit profiling to compatible nodes.
Per-process GPU attribution
The GPU exporter attributes each card’s memory and SM usage to the pod and container running on it. It runs as a DaemonSet on accelerator nodes, serves its metrics on port9405, and is off by default.
The image is registry.costgraph.ai/costgraph-gpu-exporter. Pulling it needs a
CostGraph API key with the deployment:register scope. Store the key as an
image pull secret in the operator’s namespace:
imagePullSecrets:
driverInstallDir is where the NVIDIA driver lives on the host. The default is
the GKE path. Set it to your driver directory on any other distribution.
On a partitioned card, a process is attributed to the partition it runs in.