@@ -304,10 +304,10 @@ then
304304 --path.sysfs=" pkg/collector/testdata/sys" \
305305 --path.cgroupfs=" pkg/collector/testdata/sys/fs/cgroup" \
306306 --path.procfs=" pkg/collector/testdata/proc" \
307+ --collector.cgroups.force-version=" v1" \
307308 --collector.slurm \
308309 --collector.slurm.gpu-type=" nvidia" \
309310 --collector.slurm.nvidia-smi-path=" pkg/collector/testdata/nvidia-smi" \
310- --collector.slurm.force-cgroups-version=" v1" \
311311 --collector.slurm.gpu-job-map-path=" pkg/collector/testdata/gpujobmap" \
312312 --collector.ipmi.dcmi.cmd=" pkg/collector/testdata/ipmi/freeipmi/ipmi-dcmi" \
313313 --collector.empty-hostname-label \
@@ -321,11 +321,11 @@ then
321321 --path.sysfs=" pkg/collector/testdata/sys" \
322322 --path.cgroupfs=" pkg/collector/testdata/sys/fs/cgroup" \
323323 --path.procfs=" pkg/collector/testdata/proc" \
324+ --collector.cgroups.force-version=" v1" \
325+ --collector.cgroup.active-subsystem=" memory" \
324326 --collector.slurm \
325- --collector.slurm.cgroups-v1-subsystem=" memory" \
326327 --collector.slurm.gpu-type=" nvidia" \
327328 --collector.slurm.nvidia-smi-path=" pkg/collector/testdata/nvidia-smi" \
328- --collector.slurm.force-cgroups-version=" v1" \
329329 --collector.slurm.gpu-job-map-path=" pkg/collector/testdata/gpujobmap" \
330330 --collector.ipmi.dcmi.cmd=" pkg/collector/testdata/ipmi/freeipmi/ipmi-dcmi" \
331331 --collector.empty-hostname-label \
@@ -339,10 +339,10 @@ then
339339 --path.sysfs=" pkg/collector/testdata/sys" \
340340 --path.cgroupfs=" pkg/collector/testdata/sys/fs/cgroup" \
341341 --path.procfs=" pkg/collector/testdata/proc" \
342+ --collector.cgroups.force-version=" v2" \
342343 --collector.slurm \
343344 --collector.slurm.gpu-type=" nvidia" \
344345 --collector.slurm.nvidia-smi-path=" pkg/collector/testdata/nvidia-smi" \
345- --collector.slurm.force-cgroups-version=" v2" \
346346 --collector.slurm.gpu-job-map-path=" pkg/collector/testdata/gpujobmap" \
347347 --collector.empty-hostname-label \
348348 --web.listen-address " 127.0.0.1:${port} " \
@@ -355,10 +355,10 @@ then
355355 --path.sysfs=" pkg/collector/testdata/sys" \
356356 --path.cgroupfs=" pkg/collector/testdata/sys/fs/cgroup" \
357357 --path.procfs=" pkg/collector/testdata/proc" \
358+ --collector.cgroups.force-version=" v2" \
358359 --collector.slurm \
359360 --collector.slurm.gpu-type=" amd" \
360361 --collector.slurm.rocm-smi-path=" pkg/collector/testdata/rocm-smi" \
361- --collector.slurm.force-cgroups-version=" v2" \
362362 --collector.slurm.gpu-job-map-path=" pkg/collector/testdata/gpujobmap" \
363363 --collector.empty-hostname-label \
364364 --web.listen-address " 127.0.0.1:${port} " \
371371 --path.sysfs=" pkg/collector/testdata/sys" \
372372 --path.cgroupfs=" pkg/collector/testdata/sys/fs/cgroup" \
373373 --path.procfs=" pkg/collector/testdata/proc" \
374+ --collector.cgroups.force-version=" v2" \
374375 --collector.slurm \
375- --collector.slurm.force-cgroups-version=" v2" \
376376 --collector.empty-hostname-label \
377377 --web.listen-address " 127.0.0.1:${port} " \
378378 --web.disable-exporter-metrics \
@@ -384,10 +384,10 @@ then
384384 --path.sysfs=" pkg/collector/testdata/sys" \
385385 --path.cgroupfs=" pkg/collector/testdata/sys/fs/cgroup" \
386386 --path.procfs=" pkg/collector/testdata/proc" \
387+ --collector.cgroups.force-version=" v2" \
387388 --collector.slurm \
388389 --collector.slurm.gpu-type=" nvidia" \
389390 --collector.slurm.nvidia-smi-path=" pkg/collector/testdata/nvidia-smi" \
390- --collector.slurm.force-cgroups-version=" v2" \
391391 --collector.ipmi.dcmi.cmd=" pkg/collector/testdata/ipmi/ipmiutils/ipmiutil" \
392392 --collector.empty-hostname-label \
393393 --web.listen-address " 127.0.0.1:${port} " \
@@ -400,10 +400,10 @@ then
400400 --path.sysfs=" pkg/collector/testdata/sys" \
401401 --path.cgroupfs=" pkg/collector/testdata/sys/fs/cgroup" \
402402 --path.procfs=" pkg/collector/testdata/proc" \
403+ --collector.cgroups.force-version=" v2" \
403404 --collector.slurm \
404405 --collector.slurm.gpu-type=" amd" \
405406 --collector.slurm.rocm-smi-path=" pkg/collector/testdata/rocm-smi" \
406- --collector.slurm.force-cgroups-version=" v2" \
407407 --collector.slurm.gpu-job-map-path=" pkg/collector/testdata/gpujobmap" \
408408 --collector.slurm.swap.memory.metrics \
409409 --collector.slurm.psi.metrics \
0 commit comments