prometheus-node-exporter-lua: fixup openwrt collector
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
This commit is contained in:
parent
21c8252dc7
commit
3afccecdb2
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue