You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The document also talks about casting PerfEntityMetricBase objects to use the CSV format:
When you specify “csv” format, you must cast the returned PerfEntityMetricBase objects into PerfEntityMetricCSV
objects. Both the sampling information and the collected data are encoded as comma-separated values suitable for
display in tabular format.
I thought govmomi would probably handle the type conversions / casting but doesn't seem to be the case. Need to investigate this further.
The text was updated successfully, but these errors were encountered:
According to the documentation, we should be able to get QueryPerf responses back in CSV format. This would be preferred to the default XML format.
When attempting this against a live environment, I'm seeing the following panic from govmomi:
Here's a link to a Java example in the docs that uses CSV format: https://developer.vmware.com/docs/1132/vsphere-web-services-sdk-programming-guide/doc/PG_Performance.18.4.html
The document also talks about casting PerfEntityMetricBase objects to use the CSV format:
I thought govmomi would probably handle the type conversions / casting but doesn't seem to be the case. Need to investigate this further.
The text was updated successfully, but these errors were encountered: