carlosedp / cluster-monitoring

Cluster monitoring stack for clusters based on Prometheus Operator
MIT License
740 stars 201 forks source link

"Running Pods" and "Running Container" metrics are not displayed on Grafana #104

Closed sosomasox closed 3 years ago

sosomasox commented 3 years ago

Hi,

As you can see in my screenshot, I have trouble with displaying metrics on Grafana. "Running Pods" and "Running Container" metrics about Kubelet are not displayed on Grafana.

Screenshot

What happened: "Running Pods" and "Running Container" display N/A.

What you expected to happen: Actual values ​​will be displayed in "Running Pods" and "Running Container" on Grafana.

How to fix: Kubelet v1.19 following metrics have been renamed: #92407

kubelet_running_container_count --> kubelet_running_containers
kubelet_running_pod_count --> kubelet_running_pods

I think that ConfigMap data which is named "grafana-dashboard-k8s-resources-workloads-namespace" in manifests/grafana-dashboardDefinitions.yaml needs to revise.

Environment: