vmware/pyvmomi-community-samples

refresh rate for Performance Manager

Open

#615 opened on Nov 7, 2019

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Python (914 forks)batch import
help wanted

Repository metrics

Stars
 (972 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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

Contributor guide