prometheus-node-exporter-lua: mwan3: speed up
authorEtienne Champetier <[email protected]>
Tue, 24 Jun 2025 20:10:41 +0000 (16:10 -0400)
committerEtienne Champetier <[email protected]>
Tue, 24 Jun 2025 22:53:43 +0000 (01:53 +0300)
commitcaeb4c1834b68c37647143363bf643b8f79040cc
tree5275d0480008bcf7bdab825b9145338866584785
parent73f9b9ab79ee6e2ceedcc0387d66b994bdc6de9c
prometheus-node-exporter-lua: mwan3: speed up

Request only 'interfaces' status, as we don't use 'connected' and
'policies' status. On my router with 5 wans / 2 tracking IPs per wan,
scrape time goes from 1.90s to 1.30s (still pretty slow but better)

Signed-off-by: Etienne Champetier <[email protected]>
utils/prometheus-node-exporter-lua/Makefile
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/mwan3.lua