I have machines with one interface eth0 with multiple different IP addresses attached to it (255) to be exact, interfaces look like this eth0:1, eth0:2 ...eth0:254.
I want to monitor the traffic for each IP whit Prometheus + Grafana (or at least visualize it in Grafana).
So far I managed to get the overall traffic of the eth0 interface. I tried with SNMP, but still I can get overall traffic only. I also looked up how iotop calculates traffic of each IP and it looks like it opens each packet and check the ip address inside of it.
Using Ubuntu 18.04.