vpenso / prometheus-slurm-exporter

Prometheus exporter for performance metrics from Slurm.
GNU General Public License v3.0
229 stars 142 forks source link

Add tests for GPU accounting and fix parsing sinfo output #70

Open nuno-silva opened 2 years ago

nuno-silva commented 2 years ago

These changes make GPU accounting work with slurm 19 (at least for my installation) and should help with testing different outputs in #38.

The sinfo parsing change is from https://github.com/vpenso/prometheus-slurm-exporter/issues/38#issuecomment-796005476.

Please let me know if I should add a copyright/licence header to the new files.

nuno-silva commented 2 years ago

friendly ping @vpenso @mtds

nuno-silva commented 1 year ago

friendly ping @vpenso @mtds should I target another branch, or maybe this is outdated after https://github.com/vpenso/prometheus-slurm-exporter/issues/38#issuecomment-1059268689? thanks