google / cadvisor

Analyzes resource usage and performance characteristics of running containers.
Other
16.97k stars 2.31k forks source link

how to get machine info in time #1833

Open timchenxiaoyu opened 6 years ago

timchenxiaoyu commented 6 years ago

the interface GetMachineInfo not change if we doesn't restart cadvisor, how to get current machine info ,for example disk info?

dashpole commented 6 years ago

What is your use case? We currently assume that the machine info does not change. Are you using an orchestrator? Or just a runtime?

timchenxiaoyu commented 6 years ago

we run container in vm,vm mount many disks, in qingcloud vm limit mount 6 disks,so we must monitor this ! get mounted disk intime