pryorda / vmware_exporter

VMWare vCenter Exporter for Prometheus
BSD 3-Clause "New" or "Revised" License
516 stars 199 forks source link

vsan metrics #223

Open deejay104 opened 4 years ago

deejay104 commented 4 years ago

Hello,

Is it possible to add vsan metrics ? This should be available at configManager.vsanInternalSystem.dom : Disk stats (count) : configManager.vsanInternalSystem.dom.compmgr.stats.[readCount|writeCount] VMs stats (count) : configManager.vsanInternalSystem.dom.client.stats.[readCount|writeCount] Disk stats (bytes) : configManager.vsanInternalSystem.dom.compmgr.stats.[readBytes|writeBytes] VMs stats (bytes) : configManager.vsanInternalSystem.dom.client.stats.[readBytes|writeBytes] Disk latency (micros) : configManager.vsanInternalSystem.dom.compmgr.stats.[readLatencySumUs|writeLatencySumUs] VMs latency (micros) : configManager.vsanInternalSystem.dom.client.stats.[readLatencySumUs|writeLatencySumUs] Disk congestion (count) : configManager.vsanInternalSystem.dom.compmgr.stats.[readCongestionSum|writeCongestionSum] VMs congestion (count) : configManager.vsanInternalSystem.dom.client.stats.[readCongestionSum|writeCongestionSum]

Also I see that VMs stored on vSAN clusters do not have read/write storage metrics. But this seems that they cannot be fetched as the vcenter does not have them also. If there is anyway to collect this metric it would be great.

Thanks

marcusteixeira commented 3 years ago

Details about metrics: https://kb.vmware.com/s/article/75232

bshashank commented 3 years ago

I was looking for vsan metrics to be pushed to Prometheus as well, turns out VMware has a project at: https://github.com/vmware/vsan-integration-for-prometheus to do just that.

wally007 commented 2 years ago

the VMware project that is total overkill for simple vsan monitoring (typical VMware over engineered project - but this one takes the cake) Just download wavefront telegraf fork and run it as a separate telegraf instance and you can use any output plugin (prometheus, influx etc ..)

No need for kubernetes, bearer tokens, SD discovery etc ... just to monitor vsan performace. jeez