Patent attributes
Techniques are disclosed for session-based traffic statistics. In an example method, a virtual router of a cloud data center processes traffic flows for virtual machines executing on a server within the cloud data center to generate traffic flow statistics. The traffic flows include ingress traffic flows originating from the virtual machines and destined for a network of the cloud data center, and egress traffic flows originating from the network of the cloud data center and destined for the virtual machines. A virtual routing agent processes the traffic flow statistics to identify pairs of ingress and egress traffic flows corresponding to a common communication session. The virtual routing agent generates, for each identified pair of ingress and egress traffic flows, session records comprising traffic session statistics for each of the ingress and egress traffic flows of the pair and uploads the session records to a traffic collector for the network.