<p>I have a GKE cluster running kubernetes 1.16.9. I'm trying to get a monitoring system working using Prometheus, and Grafana.</p>
<p>The dashboard I'm using is the standard &quot;Kubernetes Cluster Monitoring&quot;
<a href="https://grafana.com/grafana/dashboards/315" rel="nofollow noreferrer">https://grafana.com/grafana/dashboards/315</a></p>
<p>When I import it though, I can't see the pod-by-pod CPU/Memory usage, I just see &quot;value&quot;:
<a href="https://i.stack.imgur.com/uOs8T.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uOs8T.png" alt="grafana dashboard not working image" /></a></p>
<p>I have another cluster with an almost identical setup using kubernetes 1.15  and the dashboard works perfectly showing each pod and the usage of each pod.</p>
<p>Why is this the case? I'm fairly new to understanding prometheus/grafana and how all this works together.</p>
<p><a href="https://i.stack.imgur.com/GNkJY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GNkJY.png" alt="working image" /></a></p>
<p>What could be causing this issue? The metrics are showing, and kubectl top pod shows up... so I think metrics-server is working well...</p>
<p>Any tips on trying to debug this?</p>

clse
<p>You are not alone with this problem. The things are like that: <code>pod_name</code> and <code>container_name</code> <a href="https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/" rel="nofollow noreferrer">labels</a> coming from the <a href="https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/" rel="nofollow noreferrer">kubelet</a> were deprecated in 1.14 in favor of pod and container, then removed in <a href="https://github.com/kubernetes/kubernetes/blob/release-1.16/CHANGELOG/CHANGELOG-1.16.md#metrics-changes" rel="nofollow noreferrer">1.16</a></p>
<blockquote>
<p>Removed metrics</p>
<p>Removed cadvisor metric labels pod_name and
container_name to match instrumentation guidelines. Any Prometheus
queries that match pod_name and container_name labels (e.g. cadvisor
or kubelet probe metrics) must be updated to use pod and container
instead. (#80376, @ehashman)</p>
</blockquote>
<p>so as per above -
Any Prometheus queries that match <code>pod_name</code> and <code>container_name</code> labels (e.g. cadvisor or kubelet probe metrics) must be updated to use <code>pod</code> and <code>container</code> instead</p>
<p>Very similar question for your reference - <a href="https://stackoverflow.com/questions/59625516/grafana-dashboard-not-displaying-pod-name-instead-pod-name">Grafana dashboard not displaying pod name instead pod_name</a></p>
<p>btw, have you tries this one? <a href="https://grafana.com/grafana/dashboards/11143" rel="nofollow noreferrer">https://grafana.com/grafana/dashboards/11143</a></p>
