procfs icon indicating copy to clipboard operation
procfs copied to clipboard

Add support for Linux SAS classes

Open scottlaird opened this issue 2 years ago • 0 comments

Linux exports ~5 useful metrics per SAS PHY, which can be useful for debugging SAS performance problems and errors. I'm planning on adding support for this to node_exporter (see https://github.com/prometheus/node_exporter/issues/2386), but I need to extract information from /sys first before I can do this.

The useful metrics are all in /sys/class/sas_phy, but we need data from /sys/class/sas_end_device, /sys/class/sas_port, and /sys/class/sas_expander in order to make sense of the PHY data and know what's connected to a specific PHY.

scottlaird avatar Jun 05 '22 00:06 scottlaird