vmware/pyvmomi-community-samples

refresh rate for Performance Manager

Open

#615 aberto em 7 de nov. de 2019

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)Python (914 forks)batch import
help wanted

Métricas do repositório

Stars
 (972 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 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

Guia do colaborador