You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a network_names (string slice, the default is empty, and empty means all) configuration item to specify the network interfaces that need to be calculated by btm.
Usage:
network_names = ["eth0", "eth1"]
Additional context/details
At present, btm takes all network interfaces into consideration in traffic calculation. Of course, there's nothing wrong with it. But we must admit that there're some flaws in doing so. For example, there may be some network interfaces that people want to ignore, such as those created by docker. So it seems reasonable to add a network interface filter.
Describe the feature request
Add a
network_names
(string slice, the default is empty, and empty means all) configuration item to specify the network interfaces that need to be calculated bybtm
.Usage:
Additional context/details
At present,
btm
takes all network interfaces into consideration in traffic calculation. Of course, there's nothing wrong with it. But we must admit that there're some flaws in doing so. For example, there may be some network interfaces that people want to ignore, such as those created bydocker
. So it seems reasonable to add a network interface filter.bottom/src/app/data_harvester/network.rs
Lines 33 to 37 in 0c21cba
The text was updated successfully, but these errors were encountered: