vpenso/prometheus-slurm-exporter

Error while building prometheus-slurm-exporter

Closed this issue · 1 comments

Hi,
I get the following error when I try to build ,

command-line-arguments

./main.go:34:26: undefined: NewPartitionsCollector

Can you please let me know how to resolve this issue?

mtds commented

There is a typo in the DEVELOPMENT document, I have just corrected it. The build command it is as follows:

go build -o bin/prometheus-slurm-exporter {main,accounts,cpus,nodes,partitions,queue,scheduler,users}.go

Otherwise, if you use make, you should not have troubles building the binary.