dcgm: add note about keeping dcgm and prometheus-dcgm-exporter in sync

+5 -2
+1 -1
pkgs/os-specific/linux/dcgm/default.nix
··· 85 # C.f. https://github.com/NVIDIA/DCGM/blob/7e1012302679e4bb7496483b32dcffb56e528c92/dcgmbuild/build.sh#L22 86 in gcc11Stdenv.mkDerivation rec { 87 pname = "dcgm"; 88 - version = "3.2.5"; 89 90 src = fetchFromGitHub { 91 owner = "NVIDIA";
··· 85 # C.f. https://github.com/NVIDIA/DCGM/blob/7e1012302679e4bb7496483b32dcffb56e528c92/dcgmbuild/build.sh#L22 86 in gcc11Stdenv.mkDerivation rec { 87 pname = "dcgm"; 88 + version = "3.2.5"; # N.B: If you change this, be sure prometheus-dcgm-exporter supports this version. 89 90 src = fetchFromGitHub { 91 owner = "NVIDIA";
+4 -1
pkgs/servers/monitoring/prometheus/dcgm-exporter/default.nix
··· 7 }: 8 buildGoModule rec { 9 pname = "dcgm-exporter"; 10 - version = "3.2.5-3.1.7"; 11 12 src = fetchFromGitHub { 13 owner = "NVIDIA";
··· 7 }: 8 buildGoModule rec { 9 pname = "dcgm-exporter"; 10 + 11 + # The first portion of this version string corresponds to a compatible DCGM 12 + # version. 13 + version = "3.2.5-3.1.7"; # N.B: If you change this, update dcgm as well to the matching version. 14 15 src = fetchFromGitHub { 16 owner = "NVIDIA";