prometheus-node-exporter-lua: add basic hwmon exporter
authorIvan Mironov <[email protected]>
Wed, 12 Jul 2023 23:45:44 +0000 (01:45 +0200)
committerEtienne Champetier <[email protected]>
Tue, 18 Jun 2024 22:28:11 +0000 (18:28 -0400)
commitfc1b9071a4731e44c1d926f38848b476525ec692
treea029ae6e7c23ca7ecf8eaaadcf95a1e5c833cf6d
parent7b683fd6577c6812c7e9ca05b98ff8ed7d63b574
prometheus-node-exporter-lua: add basic hwmon exporter

This collector supports following metrics:

 * node_hwmon_temp_celsius
 * node_hwmon_pwm

and following auxiliary mappings:

 * node_hwmon_chip_names
 * node_hwmon_sensor_label

Tested on:

 * Banana Pi BPI-r3 / OpenWrt 23.05.0-rc2
 * TP-Link Archer C7 v5 / OpenWrt 22.03.5

Signed-off-by: Ivan Mironov <[email protected]>
(cherry picked from commit 431fefbdea559625c5b46ff2011237fefcbf1c1c)
utils/prometheus-node-exporter-lua/Makefile
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/hwmon.lua [new file with mode: 0644]