VMware Cloud Community
rolfbar
Contributor
Contributor

What's happened to the datastore stat-type on vsan hosts ?

Hey Guys,

We have a script that collects metrics from VC for VM's, Hosts and Datastores

This scrips collects among other stuff host metrics which include the following

datastore.datastoreReadBytes.latest

datastore.datastoreWriteBytes.latest

datastore.datastoreNormalReadLatency.latest

datastore.datastoreNormalWriteLatency.latest

datastore.read.average

datastore.write.average

Now for all our host connected to SAN storage that metric is still valid, but for all VSAN hosts if we run

Get-StatType -Entity "VMHosts"

Those stat types are no longer available.

Why have they been removed/moved and if they have been move where did VMWare move them too ?

Thanks

Reply
0 Kudos
2 Replies
LucD
Leadership
Leadership

VSAN statistics can be obtained through the Get-VsanStat cmdlet.

William mapped these in Correlating vSAN perf metrics from vSphere Web Client to both PowerCLI & vSAN Mgmt API


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
rolfbar
Contributor
Contributor

You are a machine, thank you very much

Reply
0 Kudos