Files
cozystack/hack/dcgm-default-counters.csv
Arsolitt ccfec2ef62 fix(monitoring): close DCGM coverage gap for gpu-fleet TDP panel
gpu-fleet.json references DCGM_FI_DEV_POWER_MGMT_LIMIT for its
"TDP vs draw" panel, but the custom DCGM Exporter CSV did not declare
it, so the panel silently rendered "No data" on clusters using that
config. Declare the counter, fix the dashboards table in the
gpu-operator examples README, and add a bats test that cross-checks
every DCGM_FI_* reference in tracked dashboards and recording rules
against the union of the upstream default set (snapshotted under
hack/) and the project's custom CSV.

Signed-off-by: Arsolitt <arsolitt@gmail.com>
2026-04-18 06:55:17 +03:00

6.2 KiB

1# Snapshot of the upstream DCGM Exporter default-counters.csv used as a
2# fixture by hack/check-gpu-recording-rules.bats. The test verifies that
3# every DCGM_FI_* metric referenced by a tracked GPU dashboard is either
4# declared here (upstream defaults) or in
5# packages/system/gpu-operator/examples/dcgm-custom-metrics.yaml
6# (the project's custom CSV).
7#
8# Source: https://github.com/NVIDIA/dcgm-exporter/blob/4.1.1-4.0.4/etc/default-counters.csv
9# Pinned to the DCGM Exporter image tag shipped by the gpu-operator
10# chart under packages/system/gpu-operator/charts/gpu-operator/values.yaml
11# (dcgmExporter.version = 4.1.1-4.0.4-ubuntu22.04). When that image is
12# bumpedrefresh this file from the matching tag in the NVIDIA/dcgm-exporter
13# repo and re-run `./hack/cozytest.sh hack/check-gpu-recording-rules.bats`.
14# Format
15# If line starts with a '#' it is considered a comment
16# DCGM FIELDPrometheus metric typehelp message
17# Clocks
18DCGM_FI_DEV_SM_CLOCKgaugeSM clock frequency (in MHz).
19DCGM_FI_DEV_MEM_CLOCKgaugeMemory clock frequency (in MHz).
20# Temperature
21DCGM_FI_DEV_MEMORY_TEMPgaugeMemory temperature (in C).
22DCGM_FI_DEV_GPU_TEMPgaugeGPU temperature (in C).
23# Power
24DCGM_FI_DEV_POWER_USAGEgaugePower draw (in W).
25DCGM_FI_DEV_TOTAL_ENERGY_CONSUMPTIONcounterTotal energy consumption since boot (in mJ).
26# PCIE
27# DCGM_FI_PROF_PCIE_TX_BYTEScounterTotal number of bytes transmitted through PCIe TX via NVML.
28# DCGM_FI_PROF_PCIE_RX_BYTEScounterTotal number of bytes received through PCIe RX via NVML.
29DCGM_FI_DEV_PCIE_REPLAY_COUNTERcounterTotal number of PCIe retries.
30# Utilization (the sample period varies depending on the product)
31DCGM_FI_DEV_GPU_UTILgaugeGPU utilization (in %).
32DCGM_FI_DEV_MEM_COPY_UTILgaugeMemory utilization (in %).
33DCGM_FI_DEV_ENC_UTILgaugeEncoder utilization (in %).
34DCGM_FI_DEV_DEC_UTIL gaugeDecoder utilization (in %).
35# Errors and violations
36DCGM_FI_DEV_XID_ERRORSgaugeValue of the last XID error encountered.
37# DCGM_FI_DEV_POWER_VIOLATIONcounterThrottling duration due to power constraints (in us).
38# DCGM_FI_DEV_THERMAL_VIOLATIONcounterThrottling duration due to thermal constraints (in us).
39# DCGM_FI_DEV_SYNC_BOOST_VIOLATIONcounterThrottling duration due to sync-boost constraints (in us).
40# DCGM_FI_DEV_BOARD_LIMIT_VIOLATIONcounterThrottling duration due to board limit constraints (in us).
41# DCGM_FI_DEV_LOW_UTIL_VIOLATIONcounterThrottling duration due to low utilization (in us).
42# DCGM_FI_DEV_RELIABILITY_VIOLATIONcounterThrottling duration due to reliability constraints (in us).
43# Memory usage
44DCGM_FI_DEV_FB_FREEgaugeFramebuffer memory free (in MiB).
45DCGM_FI_DEV_FB_USEDgaugeFramebuffer memory used (in MiB).
46# ECC
47# DCGM_FI_DEV_ECC_SBE_VOL_TOTALcounterTotal number of single-bit volatile ECC errors.
48# DCGM_FI_DEV_ECC_DBE_VOL_TOTALcounterTotal number of double-bit volatile ECC errors.
49# DCGM_FI_DEV_ECC_SBE_AGG_TOTALcounterTotal number of single-bit persistent ECC errors.
50# DCGM_FI_DEV_ECC_DBE_AGG_TOTALcounterTotal number of double-bit persistent ECC errors.
51# Retired pages
52# DCGM_FI_DEV_RETIRED_SBEcounterTotal number of retired pages due to single-bit errors.
53# DCGM_FI_DEV_RETIRED_DBEcounterTotal number of retired pages due to double-bit errors.
54# DCGM_FI_DEV_RETIRED_PENDINGcounterTotal number of pages pending retirement.
55# NVLink
56# DCGM_FI_DEV_NVLINK_CRC_FLIT_ERROR_COUNT_TOTALcounterTotal number of NVLink flow-control CRC errors.
57# DCGM_FI_DEV_NVLINK_CRC_DATA_ERROR_COUNT_TOTALcounterTotal number of NVLink data CRC errors.
58# DCGM_FI_DEV_NVLINK_REPLAY_ERROR_COUNT_TOTALcounterTotal number of NVLink retries.
59# DCGM_FI_DEV_NVLINK_RECOVERY_ERROR_COUNT_TOTALcounterTotal number of NVLink recovery errors.
60DCGM_FI_DEV_NVLINK_BANDWIDTH_TOTALcounterTotal number of NVLink bandwidth counters for all lanes.
61# DCGM_FI_DEV_NVLINK_BANDWIDTH_L0counterThe number of bytes of active NVLink rx or tx data including both header and payload.
62# VGPU License status
63DCGM_FI_DEV_VGPU_LICENSE_STATUSgaugevGPU License status
64# Remapped rows
65DCGM_FI_DEV_UNCORRECTABLE_REMAPPED_ROWScounterNumber of remapped rows for uncorrectable errors
66DCGM_FI_DEV_CORRECTABLE_REMAPPED_ROWScounterNumber of remapped rows for correctable errors
67DCGM_FI_DEV_ROW_REMAP_FAILUREgaugeWhether remapping of rows has failed
68# Static configuration information. These appear as labels on the other metrics
69DCGM_FI_DRIVER_VERSIONlabelDriver Version
70# DCGM_FI_NVML_VERSIONlabelNVML Version
71# DCGM_FI_DEV_BRANDlabelDevice Brand
72# DCGM_FI_DEV_SERIALlabelDevice Serial Number
73# DCGM_FI_DEV_OEM_INFOROM_VERlabelOEM inforom version
74# DCGM_FI_DEV_ECC_INFOROM_VERlabelECC inforom version
75# DCGM_FI_DEV_POWER_INFOROM_VERlabelPower management object inforom version
76# DCGM_FI_DEV_INFOROM_IMAGE_VERlabelInforom image version
77# DCGM_FI_DEV_VBIOS_VERSIONlabelVBIOS version of the device
78# Datacenter Profiling (DCP) metrics
79# NOTE: supported on Nvidia datacenter Volta GPUs and newer
80DCGM_FI_PROF_GR_ENGINE_ACTIVEgaugeRatio of time the graphics engine is active.
81# DCGM_FI_PROF_SM_ACTIVEgaugeThe ratio of cycles an SM has at least 1 warp assigned.
82# DCGM_FI_PROF_SM_OCCUPANCYgaugeThe ratio of number of warps resident on an SM.
83DCGM_FI_PROF_PIPE_TENSOR_ACTIVEgaugeRatio of cycles the tensor (HMMA) pipe is active.
84DCGM_FI_PROF_DRAM_ACTIVEgaugeRatio of cycles the device memory interface is active sending or receiving data.
85# DCGM_FI_PROF_PIPE_FP64_ACTIVEgaugeRatio of cycles the fp64 pipes are active.
86# DCGM_FI_PROF_PIPE_FP32_ACTIVEgaugeRatio of cycles the fp32 pipes are active.
87# DCGM_FI_PROF_PIPE_FP16_ACTIVEgaugeRatio of cycles the fp16 pipes are active.
88DCGM_FI_PROF_PCIE_TX_BYTESgaugeThe rate of data transmitted over the PCIe bus - including both protocol headers and data payloads - in bytes per second.
89DCGM_FI_PROF_PCIE_RX_BYTESgaugeThe rate of data received over the PCIe bus - including both protocol headers and data payloads - in bytes per second.