guilbaults / infiniband-exporter

Prometheus exporter for a Infiniband Fabric
Apache License 2.0
47 stars 21 forks source link

Prevents quit on errors from ibqueryerror (#12) #22

Closed gabrieleiannetti closed 3 years ago

gabrieleiannetti commented 3 years ago
gabrieleiannetti commented 3 years ago

I suggest this as a quick fix, so the exporter can be executed again.

It also helps for further work on the exporter, so there is no interference with that issue.

I would also suggest, that the exporter exports at least the error "bad status 110; Connection timed out" as a new metric as pointed out in https://github.com/guilbaults/infiniband-exporter/issues/12#issuecomment-817721626.