Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
collector/hwmon_linux: handle temperature sensor file which doesn't h…
…ave item suffix (prometheus#1123) In some cases the file might be called "temp" instead of the usual format "temp<index>_<item>" as described in the kernel docs: https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface In this case, treat this as an _input file containing the current temperature reading. Fixes prometheus#1122 Signed-off-by: Paul Gier <pgier@redhat.com>
- Loading branch information