In this article
Scraping can repeat cached power values, and workload labels describe association; neither establishes fresh samples or independently measured per-process energy.
DCGM Exporter can turn GPU power observations into a durable Prometheus time series. The useful result is a trace with known field semantics, entity identity and collection behavior. An endpoint returning data does not by itself establish fresh hardware measurements, complete coverage or energy attributable to one workload.
Start with the configured power field
The official metric inventory lists DCGM_FI_DEV_POWER_USAGE as a gauge mapped to the canonical board-power field. It emphasizes that collector configuration selects fields but does not guarantee their runtime availability. Hardware, DCGM, driver, permissions and entity selection all matter.
The field reference defines board power in watts and separately identifies an instantaneous raw-power field. It also distinguishes cumulative energy fields. A metric’s familiar name is therefore insufficient for integration or aggregation: preserve the actual field and unit from the installed version.
Collection and scraping are different clocks
NVIDIA’s Prometheus configuration guide explicitly separates DCGM collection cadence from Prometheus scraping and HTTP timeouts. A scrape does not force a new hardware query. Reading more frequently than the actual watch refresh can return the same cached observation repeatedly.
This distinction changes the interpretation of a dense graph. More points can mean more copies of cached state, rather than finer resolution of the electrical signal. A short inference phase can occur between useful observations. Conversely, an apparently persistent high value may span a period in which no new sample was obtained. Collection configuration, missing intervals and workload markers should therefore remain available alongside the stored series.
Labels describe association rather than energy ownership
The inventory documents GPU and MIG entity selection plus optional pod, container and job labels. Mapping labels onto samples does not make an unsupported entity field available. It also does not independently measure how much board energy each associated process consumed.
This matters when a board serves several workloads or a physical resource appears under several label combinations. Summing series without examining their entity scope and mapping can count one observation repeatedly. Assigning all observed watts to the named pod can be equally misleading when other consumers are active. The discussion of GPU, CPU and server boundaries provides the physical side of that accounting problem; exporter labels add an association layer rather than solving attribution.
Preserve gaps before calculating energy
A missing required metric is different from a measured zero, even if the HTTP endpoint remains reachable. The existing guide to Prometheus staleness explains why target status and metric presence need separate inspection. Zero-filling a gap can manufacture apparent energy savings.
For a useful operating report, retain the exporter and DCGM versions, selected fields, entity labels, actual samples and the workload window. If energy is estimated by integrating watts, state the interpolation and missing-data treatment. If a cumulative-energy field is used instead, preserve its own units and reset behavior. DCGM Exporter supplies the collection path; a trustworthy server energy comparison still depends on the meaning, freshness and coverage of the observations carried through that path.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.