The NetworkCollector class collects metrics on network interface usage using /proc/net/dev.


  • /proc/net/dev


Setting Default Description Type
byte_unit bit, byte, Default numeric output(s) list
enabled False Enable collecting these metrics bool
greedy true Greedy match interfaces str
interfaces eth, bond, em, p1p, eno, enp, ens, enx, List of interface types to collect list
measure_collector_time False Collect the collector run time in ms bool
metrics_blacklist None Regex to match metrics to block. Mutually exclusive with metrics_whitelist NoneType
metrics_whitelist None Regex to match metrics to transmit. Mutually exclusive with metrics_blacklist NoneType

Example Output (2.504, 2) (4.707, 2) (2.504, 2) (4.707, 2) (2.504, 2) (4.707, 2) (0.0, 2) (0.0, 2)