prometheus-node-exporter-lua: lower case bssid label value in wifi exporter
To allow cross matching bssids between different exporters we need to use the same case, as label matching is case senstive. Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
This commit is contained in:
parent
a1b145abb0
commit
445d8927f6
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ local function scrape()
|
||||||
local labels = {
|
local labels = {
|
||||||
channel = iw.channel(ifname),
|
channel = iw.channel(ifname),
|
||||||
ssid = iw.ssid(ifname),
|
ssid = iw.ssid(ifname),
|
||||||
bssid = iw.bssid(ifname),
|
bssid = string.lower(iw.bssid(ifname)),
|
||||||
mode = iw.mode(ifname),
|
mode = iw.mode(ifname),
|
||||||
ifname = ifname,
|
ifname = ifname,
|
||||||
country = iw.country(ifname),
|
country = iw.country(ifname),
|
||||||
|
|
Loading…
Reference in a new issue