Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure nvme_exporter can work with nvme-cli v2.11 #2

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

BigValen
Copy link

Newer versions of nvme-cli have different output formats to JSON. The JSON can also change, depending on how many nvme controllers are present. This works with all current releases. Added some basic unittests to ensure that conversions/JSON parsing is good.

This also gives the ability to change the temperature exporter, to Kelvin (as per NVMe spec), Celcius (as per Prometheus node_exporter and other tools), and Fahrenheit (used in some environments).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant