pyvmomi-community-samples icon indicating copy to clipboard operation
pyvmomi-community-samples copied to clipboard

refresh rate for Performance Manager

Open hmadadian opened this issue 5 years ago • 2 comments

hi I tried the "vm_perf_example.py" in the pyvmomi-community-samples, and it was okay, but there are two problems: in some time periods it just returns an array of null just like below: (vim.PerformanceManager.EntityMetricBase) [ (vim.PerformanceManager.EntityMetric) { dynamicType = <unset>, dynamicProperty = (vmodl.DynamicProperty) [], entity = 'vim.VirtualMachine:vm-2619', sampleInfo = (vim.PerformanceManager.SampleInfo) [], value = (vim.PerformanceManager.MetricSeries) [] } ] and the other problem, it returns data in periods of 300s (5 minutes)! how can we set refresh rate to something like 30s

hmadadian avatar Nov 07 '19 14:11 hmadadian