<p>I installed the stable/prometheus helm chart with some minor changes proposed at <a href="https://github.com/helm/charts/pull/17268" rel="nofollow noreferrer">helm/charts#17268</a> to make it compatible with Kubernetes v1.16</p>

<p>After installation, none of the Kubernetes grafana dashboards show correct values. I am using 8769 (<a href="https://grafana.com/grafana/dashboards/8769" rel="nofollow noreferrer">https://grafana.com/grafana/dashboards/8769</a>) dashboard which provides many information on cpu, memory, network, etc. This dashboard is working properly on older k8s versions but on v1.16 it shows no results. I also randomly tried some other dashboards (8588, 6879, 10551) but they either just show the requested resource for each pod and not the live usage or showing nothing.</p>

<p>What these dashboards do is they send a promql query to prometheus and get the results. For example this is the promql query for cpu usage from 8769 dashboard:</p>

<pre><code>sum (rate (container_cpu_usage_seconds_total{id!="/",namespace=~"$Namespace",pod_name=~"^$Deployment.*$"}[1m])) by (pod_name)
</code></pre>

<p>I don't know if I have to change the promql or the problem is somewhere else.</p>

AVarf
<blockquote>
  <p>Kubernetes 1.16 removes the labels pod_name and container_name from
  cAdvisor metrics, duplicates of pod and container.</p>
</blockquote>

<p>You need change pod_name -> pod, container_name -> container in Grafana dashboards JSON models.</p>
