I ran into the same issue and came with another approach. The patch was
just merged upstream[0], so post v0.17.0.
That also introduces a new metric if a disk is in standby mode.
Could you please update to 0.17.0 and cherry-pick that instead?
Thanks!
Andre
[0]
https://github.com/prometheus/node_exporter/commit/7c960fd68365e9bbdb14cf140fc1d26d4c27333a.patch
_______________________________________________
Pkg-go-maintainers mailing list
Pkg-go-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers