kubernetes-app icon indicating copy to clipboard operation
kubernetes-app copied to clipboard

Memory Metrics are doubled Grafana

Open cbluth opened this issue 6 years ago • 1 comments

I have installed this grafana plugin, and installed prometheus and the associated scrape configs, but now my metrics are doubled, see these screenshots.

How can i troubleshoot this?

image image image

cbluth avatar Sep 23 '19 13:09 cbluth

I have noticed the same thing. It is because there are more than one time series for one pod name and the result is summed up. There is one for every container and one for the pod (total).

Kubernetes cluster monitoring (via Prometheus) This Dashboard for example adds the following instant vector selectors to the query image!="",name=~"^k8s_.*". This will filter out the pod total time series.

If I add that to the Dashboard from this plugin, the data is still incorrect, but I don't have a clue why. Although it is getting closer.

gouglhupf avatar Sep 23 '19 17:09 gouglhupf