ncabatoff / process-exporter

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

How to handle the same process name? #242

Open alexciw opened 2 years ago

alexciw commented 2 years ago

If there are multiple processes with the same name on a machine, how does the component distinguish between the different processes?

lethargosapatheia commented 2 years ago

By PID I suppose?

alexciw commented 2 years ago

No, how to monitor for processes like containers where the pid changes frequently, but there are multiple processes with the same process name?