Currently pulling metrics using performanceManager.QueryStats with the pyvmomi sdk on vsphere 6.7.
When pulling individual details for managed_objects like Host, Datacenter, Datastore, VM.
I am able to use the VmomiSupport.templateOf function and then the VmomiJSONEncoder with json.dumps to print the whole object.
Could i also use the same functions on the objects that come back from performanceManager.QueryStats?
Is there a better way to inspect these objects to see how i can iterate over them?
Thanks