<p>I'm using Prometheus and Grafana applications on Kubernetes in Google GKE since many months. For example, on Grafana I used to monitor <code>container_cpu_usage_seconds_total</code>.</p>
<p>But since I upgraded my nodes of GKE from 1.15 to 1.16, I have lost <code>container_*</code> information.</p>
<p>To test it, I have created a new cluster with the 1.15 version. I installed Prometheus from the Google Marketeplace and upgraded GKE step by step until the issue appears. Again, the <code>container_*</code> monitoring stopped with version 1.16.</p>
<p><a href="https://i.stack.imgur.com/w9aF0.png" rel="nofollow noreferrer">Here you can see <code>container_cpu_usage_seconds_total</code> and it stopped when I upgrade the node. There are 3 nodes</a></p>
<p>Am I the only one with this issue? Has anyone found a solution?</p>
<p>Thanks for your help :)</p>
<p>Valentin</p>

Val
<p>I found what was going wrong.
With docker or kubernetes, node-exporter don't send pods metrics ( <code>container_*</code> ).
Cadvisor must be installed (In Google Marketeplace, Cadvisor is installed in node-exporter image)
Since Kubernetes 1.16, Cadvisor's configuration is wrong. You should edit the configuration to solve the issue</p>
<p>All informations are in this post : <a href="https://stackoverflow.com/questions/63691208/prometheus-not-receiving-metrics-from-cadvisor-in-gke">Prometheus not receiving metrics from cadvisor in GKE</a></p>
