Hi Mohammad
This is a tricky question and I am afraid there isn't any straightforward solution to this.
You can make use of a script which would periodically run and fetch VM stats from vsish by running a command like below
/net/portsets/DvsPortset-<id>/ports/<port-id>/vmxnet3/txSummary
In case you are open to use another solution for this, you can give vRNI (Aria Operations for Networks) a shot.
https://docs.vmware.com/en/VMware-vRealize-Network-Insight/6.9/com.vmware.vrni.using.doc/GUID-E1650B0D-C113-4608-A875-1AB73E7B4B72.html
Let me know if this helps.