Hello,
I am trying to query performance data out of virtual machines and virtual disks. Public examples work ok, except the following problem.
If I don't specify metricIds, all the metric are returned, but I am interested in fetching only a small subset of the performance data.

If I use the following metrics:

"cpu.usage.average",
"cpu.ready.summation",
"mem.consumed.average",
"mem.active.average",
"mem.compressed.average",
"mem.vmmemctl.average",
"mem.swapped.average",
"virtualDisk.write.average",
"net.usage.average"

I receive all performances but "virtualDisk.write.average".

While if I do not specify any metricIds, I receive all performance counters, "virtualDisk.write.average" included.

I am basically using the example com.vmware.vim25.mo.samples.perf.RealtimePerfMonitor, commenting out (or not) the following line of code
qSpec.setMetricId(metricIds);
Any clue?