node_exporter
node_exporter copied to clipboard
arp: optimize interface name resolution
Go net package's net.InterfaceByIndex fetches the entire interface table behind the scenes, despite us specifying the interface index that we are interested in. This results in an exponential amount of rtnetlink traffic (and thus recvfrom syscalls) as the number of interfaces in a host increases.
Fixes: #3075