Methods implemented in an electronic device are disclosed for dynamically collecting traffic flow in a SDN system. For each of a plurality of sets of traffic flows, the method causes a monitor to be configured to collect traffic statistics. The monitors are instructed to collect traffic statistics, and the traffic statistics are received. For each monitor, the method determines if the received traffic statistics are within a set of acceptable limits or not, wherein the set of acceptable limits includes one or more of an upper bound and a lower bound. For each of the sets of traffic flows of which the received traffic statistics were determined outside of the acceptable limits, the method causes a change of increase or decrease of collection of the traffic statistics of the traffic flows.
展开▼