infiniband_exporter icon indicating copy to clipboard operation
infiniband_exporter copied to clipboard

panic when collector ibswinfo is enabled (docker container)

Open bmeekhof opened this issue 6 months ago • 2 comments

Hi, I'm running the latest docker container. When I enable collector=ibswinfo I get a panic when I request metrics (and no metrics returned). Without that collector enabled the container works well and I'm able to scrape the basic set of metrics.

created by net/http.(*Server).Serve in goroutine 1
        /usr/local/go/src/net/http/server.go:3285 +0x4b4
2024/08/15 14:40:34 http: panic serving x.x.x.x:36488: descriptor Desc{fqName: "infiniband_switch_collect_timeout", help: "Indicates if collect timeout", constLabels: {}, variableLabels: {guid,collector}} already exists with the same fully-qualified name and const label values
goroutine 15 [running]:
net/http.(*conn).serve.func1()
        /usr/local/go/src/net/http/server.go:1898 +0xbe
panic({0x8ae680?, 0xc000716bf0?})
        /usr/local/go/src/runtime/panic.go:770 +0x132

bmeekhof avatar Aug 15 '24 14:08 bmeekhof