ncabatoff / process-exporter

Prometheus exporter that mines /proc to report on selected processes
MIT License
1.72k stars 270 forks source link

too resources consumption #201

Closed FStefanni closed 3 years ago

FStefanni commented 3 years ago

Hi,

I have a server, for which I monitor the relevant processes with this:

process_names:
   - name: "{{.Comm}}"
     cmdline:
     - '.*VBox.*|.*docker.*|.*Docker.*|.*container.d.*|.*openvpn.*'

This issue is that it still uses too much resources (in that server I have about 170 docker containers). After a while of starting process-exporter, the server collapses... (especially for the CPU usage)

So there is a way to limit or optimize process-exporter resource usage?

Thank you. Regards

FStefanni commented 3 years ago

Hi,

it seems i was wrong: in my case the actual culprit is cadvisor.

Regards.