How to monitor the processes inside the containers

Hello,

I have the docker container running on my host Ubuntu-20.04. I wanted to monitor the docker health and thus on doing sone research I took “cAdvisor+Prometheus+Grafana” and “node export+Prometheus+Grafana” as for monitoring. Here I am getting the info on the CPU, memory utilization, network related data as shown below:

But, I need to monitor the processes running inside the containers. I need to check if the particular process is running or not. If it stopped/crashed then I should get to know about the crash. I need some tool for monitor the internal processes of the container. Is there any tool to take up this process monitoring task.? Can anybody suggest if such tools available or not? Or please suggest me how can I monitor the processes inside the containers? Any suggestion will help me a lot.

Regards,
Siddhartha V

Maybe have a look at process-exporter together with node-exporter?