Hi Pavan.
Can you provide more information?
Are you talking about vROps or vCenter metrics? maybe some screenshots?
Can you check if performance service is enabled?
in order for anyone to help you will need to provide more details than just this. Screenshots are a good start.
Hi Pavan. I'm not really familiarized with vSAN SDK. Take in consideration that Witness host is not like a normal host, since it consists in a virtual appliance running a custom ESXi version designed for vSAN Streched Clusters, so there may be some differences.
Maybe this can help you: https://vdc-download.vmware.com/vmwb-repository/dcr-public/1c5cfd69-ffbd-4946-abe9-345bce3af94e/c061...
Also, if you can provide how you are gathering this information with your code it will be much useful for the community to help.