prometheus-node-exporter-lua: add netclass.lua collector
authorRené Treffer <treffer@measite.de>
Mon, 28 Mar 2022 06:14:04 +0000 (08:14 +0200)
committerEtienne Champetier <e.champetier@ateme.com>
Sun, 12 Jun 2022 14:41:59 +0000 (10:41 -0400)
commita7110baf4cf77472c60999050a98706c7b4aebe8
treeefb4e3ed031c64977e88ffc96a8632356d567612
parent3aaf3324206582a488ebbea39b7a7bcf93b72368
prometheus-node-exporter-lua: add netclass.lua collector

All current node_exporter netclass metrics will be available. This includes
speed metrics per lan port on supported DSA switches.

Signed-off-by: René Treffer <treffer@measite.de>
(cherry picked from commit a315c40b7232bbc83582685c98e41466d84d7a35)
utils/prometheus-node-exporter-lua/Makefile
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/netclass.lua [new file with mode: 0644]