Skip to content

Commit

Permalink
Don't collect stats for loopback and bond devices
Browse files Browse the repository at this point in the history
We don't use the stats for these devices, so lets not spend time on them.

Furthermore, due to the fact that the Sysfs.read_one_line and therefore the
Sysfs.get_pci_ids function now log errors, and the loopback and bond devices
do not have PCI info in sysfs, this was causing lots of log spam.

Signed-off-by: Rob Hoes <[email protected]>
  • Loading branch information
robhoes committed Jun 20, 2016
1 parent 3e810ee commit e5bb500
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions networkd/network_monitor_thread.ml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ let monitor_blacklist = ref [
"xapi";
"ovs-system";
"xenapi";
"lo";
"bond";
]

let xapi_rpc request =
Expand Down

0 comments on commit e5bb500

Please sign in to comment.