grafana / vmware_exporter

Apache License 2.0
5 stars 5 forks source link

how to calucate VirtualMachine cpu usage and mem usage #37

Open kenwoodjw opened 2 years ago

kenwoodjw commented 2 years ago

I want to get VirtualMachine real cpu usage and mem , how to calucate use metrics, thanks for help

kenwoodjw commented 2 years ago

I use Summary.QuickStats.OverallMemoryUsage, but it's huge different to install node_exporter https://github.com/rf152/prometheus-vmware-exporter/blob/95835a882e82ce2e7fb59e7fcf3198a9be052da1/controller/metrics.go#L286