Merge pull request #23316 from dhewg/prom
prometheus-node-exporter-ucode: fix sporadic wifi errors and warnings
This commit is contained in:
commit
f394fa3aa6
|
@ -3,7 +3,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=prometheus-node-exporter-ucode
|
||||
PKG_VERSION:=2022.12.02
|
||||
PKG_VERSION:=2024.02.07
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_MAINTAINER:=Andre Heider <a.heider@gmail.com>
|
||||
|
|
|
@ -110,9 +110,12 @@ for (let radio in x) {
|
|||
m_station_rx_packets(labels, info["rx_packets"]);
|
||||
m_station_tx_packets(labels, info["tx_packets"]);
|
||||
m_station_signal(labels, info["signal"]);
|
||||
m_station_rx_bitrate(labels, info["rx_bitrate"]["bitrate32"] * 100);
|
||||
m_station_tx_bitrate(labels, info["tx_bitrate"]["bitrate32"] * 100);
|
||||
m_station_exp_tp(labels, info["expected_throughput"]);
|
||||
if (info["rx_bitrate"] && info["rx_bitrate"]["bitrate32"])
|
||||
m_station_rx_bitrate(labels, info["rx_bitrate"]["bitrate32"] * 100);
|
||||
if (info["tx_bitrate"] && info["tx_bitrate"]["bitrate32"])
|
||||
m_station_tx_bitrate(labels, info["tx_bitrate"]["bitrate32"] * 100);
|
||||
if (info["expected_throughput"])
|
||||
m_station_exp_tp(labels, info["expected_throughput"]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue