prometheus-node-exporter-lua: use uhttpd-mod-lua
authorEtienne Champetier <champetier.etienne@gmail.com>
Sun, 24 Apr 2022 03:29:30 +0000 (23:29 -0400)
committerEtienne Champetier <champetier.etienne@gmail.com>
Mon, 25 Apr 2022 16:22:22 +0000 (12:22 -0400)
commit60460f00463ad279135f7ee65eb096d08cf3a2cf
treea45072638e3d34a0db4c01bdd73f64c122c3c702
parent3afccecdb2c1a8a99b688a34453c250fb30b1acb
prometheus-node-exporter-lua: use uhttpd-mod-lua

listen_ipv6 config option is removed and we now
listen on both ipv4 and ipv6 addresses.
HTTP keepalive is enabled and set to 70s by default.

With uhttpd-mod-lua there is a small change in behavior,
all code is loaded/parsed/executed once on startup as before,
but now each request is executed in his own fork, so we can't
keep a state between requests.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
utils/prometheus-node-exporter-lua/Makefile
utils/prometheus-node-exporter-lua/files/etc/config/prometheus-node-exporter-lua
utils/prometheus-node-exporter-lua/files/etc/init.d/prometheus-node-exporter-lua
utils/prometheus-node-exporter-lua/files/usr/bin/prometheus-node-exporter-lua