摘要 |
In one embodiment, a method includes: obtaining a query for network traffic associated with an interface of a node in a network. The method includes obtaining a plurality of traffic counters associated with the interface based on an interface map, where each of the traffic counters characterizes an amount of traffic traversing the interface for a particular monitoring period. The method includes determining a traffic result for the interface based on the plurality of traffic counters, where the traffic result is a function of the network traffic handled by the interface over a predetermined time period. In some implementations, the interface map includes an entry for each interface in the network, and each entry is characterized by a pointer to a list including a plurality of traffic counters for a corresponding interface and a characterization vector associated with the corresponding interface. |