You can configure ESXi hosts in your network to measure: pNIC to vNIC, vNIC to pNIC, vNIC to vNIC, and VTEP to VTEP network latency statistics.
Configuration is supported only using the NSX REST APIs. The steps in the following procedure list the NSX Policy APIs that you must run to configure the calculation of various network latency statistics. For a detailed information about the API schema, example request, example response, and error messages of all the APIs, you must read the NSX API Guide.
Prerequisites
Both vCenter-managed hosts and standalone ESXi hosts that you want to configure for measuring network latency statistics must be prepared for NSX. That is, NSX components must be installed on all the ESXi hosts in your network.
Procedure
What to do next
Export the statistics to an external collector for a deeper network insight and troubleshooting network-specific latency problems.