mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 11:16:31 +04:00
prometheus-node-exporter-lua: fixup openwrt collector
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
This commit is contained in:
@@ -12,9 +12,9 @@ local labels = {
|
||||
target = b.release.target
|
||||
}
|
||||
|
||||
b = nil
|
||||
u = nil
|
||||
ubus = nil
|
||||
local b = nil
|
||||
local u = nil
|
||||
local ubus = nil
|
||||
|
||||
local function scrape()
|
||||
metric("node_openwrt_info", "gauge", labels, 1)
|
||||
|
||||
Reference in New Issue
Block a user