vmware/pyvmomi-community-samples

refresh rate for Performance Manager

Open

#615 opened on 2019年11月7日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)Python (914 forks)batch import
help wanted

Repository metrics

Stars
 (972 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド