prometheus-node-exporter-lua: fixup openwrt collector

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
(cherry picked from commit 3afccecdb2)
This commit is contained in:
Etienne Champetier 2022-04-23 23:25:09 -04:00 committed by Etienne Champetier
parent a7110baf4c
commit ab327729c8

View file

@ -12,9 +12,9 @@ local labels = {
target = b.release.target target = b.release.target
} }
b = nil local b = nil
u = nil local u = nil
ubus = nil local ubus = nil
local function scrape() local function scrape()
metric("node_openwrt_info", "gauge", labels, 1) metric("node_openwrt_info", "gauge", labels, 1)