Popular graphana dashboards show no data for "Pods Memory usage" and "Pods CPU usage" #1694
Replies: 1 comment 11 replies
-
In such cases, you can check the following items:
In the case of Pod-specific CPU metrics, I would particularly look at the kube-state-metrics target, both the target in Prometheus and Pod logs. |
Beta Was this translation helpful? Give feedback.
-
Running bare-metal K8s with flannel network and MetalLB as Load Balancer.
Cloned
https://github.com/prometheus-operator/kube-prometheus.git
just a few days ago. Created "monitoring" namespace. Performed Kubectl apply for manifests/setup, waited till all pods are up, then applied manifests/Instead of port forwarding, I patched each service to be: "Type" load-balancer considering that I'm using MetalLB.
Everything is operational. Can successfully deploy containers with services exposed externally by the load balancer MetalLB. All is well in the world. Can open Prometheus port 9090 & Graphana port 3000 externally from a browser and everything seems operational. Graphana is seeing Prometheus data, and community dashboards are seeing some of the Prometheus data.
Import popular community dashboards like Community dashboard number 315 for example. Oops, the dashboard reports "No Data" for PODS memory and CPU usage, but Graphana can see Cluster Memory & CPU usage. The dashboard can see Network I/O pressure, but "No data" for Pods network I/O.
As I'm a newbie to Graphana, I'm hoping someone wiser than me can help :)
Beta Was this translation helpful? Give feedback.
All reactions