1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-24 08:37:37 +02:00
openwrt-packages/utils/prometheus-node-exporter-lua/files
Gérondal Thibault e2b3fec6bf prometheus-node-exporter-lua: uci_dhcp_host module
Extract data from configuration file /etc/config/dhcp and create labels
{name, ip, mac, dns} via uci. Those labels are useful in order to craft
complex prometheus queries as replacing the MAC address to a custom
name.  E.g.: wifi_station_signal_dbm * on (mac) group_left(name)
uci_dhcp_host or on (mac) label_replace(wifi_station_signal_dbm, "name",
"$1", "mac", "(.+)")

Signed-off-by: Gérondal Thibault <contact@tycale.be>
2020-07-20 13:11:04 -10:00
..
etc prometheus-node-exporter-lua: fixed small warning 2020-01-27 18:55:31 -08:00
usr prometheus-node-exporter-lua: uci_dhcp_host module 2020-07-20 13:11:04 -10:00