VMware Cloud Community
Alex048
Contributor
Contributor

disk.usage.average counter for VM

Hello,

I am using SDK to collect historical performance data for VMs from vCenter 5.5.0

When I call the API queryAvailablePerfMetric for interval 300 seconds, it only returns the following counter ids :

2,6,12,24,85,86,90,98,102,125,133,155,214,280,281,283

I was interested in counter id 101 (disk.usage.average), but API gives only 102 (disk.usage.minimum)

In vSphere client , I am able to see past 1 day graph for disk usage with all values (latest,minimum,maximum,average) for that VM.

Is there any setting we have to do to enable counters through API?

Reply
0 Kudos
1 Reply
Aditya07
Contributor
Contributor

Hi Alex,

I am also facing similar issue. Were you able to figure out the issue?

-- Aditya
Reply
0 Kudos