Gather resource usage by process in a kubernetes cluster

11/20/2019

I am searching for a tool similar to Prometheus + Grafana that gather and record resource usage especially memory usage by process-ID or process-name.

We have two components that are running different processes and they have memory leak and I want to find which process is leaking.

This is from Weave Scope and it shows all the processes of each pod and their resource usage but it is just live, I want something similar but storing it over time like a Prometheus graph. enter image description here

-- AVarf
grafana
kubernetes
memory-leaks
monitoring
prometheus

1 Answer

11/21/2019

There is a solution where you can monitor it on a container level based on Zabbix.

Dockbix Agent XXL is an agent for Zabbix capable to monitor all Docker containers on your host.

You need to deploy it on all nodes and it will collect data of your containers and sent it to your Zabbix Server.

enter image description here

No classic rpm/deb package installation or Zabbix module compilation. Just start the dockbix-agent-xxl container and Docker container metrics will be collected from the Docker daemon API or cgroups.

-- mWatney
Source: StackOverflow