guilbaults / infiniband-exporter

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

Missing counter names #46

Closed mrobbert closed 2 years ago

mrobbert commented 2 years ago

I just started using this exporter recently and found a total of three counters that showed up as missing in my error output while running it on my two clusters. The names are:

PortXmitConstraintErrors PortMalformedPktErrors PortSwLifetimeLimitDiscards

I was able to get rid of the errors by adding those to self.counter_info locally. I'd like it if they could be added to the upstream code.

Thanks!

gabrieleiannetti commented 2 years ago

Hi,
you could create an PullRequest (PR) similar to this one: https://github.com/guilbaults/infiniband-exporter/pull/45

E.g.

Best Gabriele

mrobbert commented 2 years ago

Created pull request #47

guilbaults commented 2 years ago

Thanks for the merge request !