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]>
Sun, 15 Oct 2023 15:13:17 +0000 (11:13 -0400)
commit431fefbdea559625c5b46ff2011237fefcbf1c1c
tree143d555ce3a0ef717c8088fa3f11c32a33b0dc15
parent86df457120ab726cb9125de945522a0ecfafa9b1
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]>
utils/prometheus-node-exporter-lua/Makefile
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/hwmon.lua [new file with mode: 0644]