Does kubernetes cAdvisor include host machine (OS) metrics too when used with prometheus?

5/14/2018

I am able to get metrics for kubernetes using prometheus (cAdvisor, nodes, pods, api-servers), but I want to get host maachine (OS) metrics too. So will that cAdvisor display those metrics or I have to use node-exporter separately for that matter? Please help

-- Ankit Rohilla
kubernetes

1 Answer

5/14/2018

cAdvisor can only provide metrics of containers.

Yes, you need to use node-exporter for host metrics.

-- Anton Kostenko
Source: StackOverflow