grafana/kubernetes-app

Memory Metrics are doubled Grafana

Opened this issue · 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

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.