ncabatoff / process-exporter

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

Adding custom label to process group #307

Open zviRosenfeldRedis opened 1 month ago

zviRosenfeldRedis commented 1 month ago

I need to add a custom label to a process group. The label's value will be calculated by on a bash command that will be ran when the first process in the group comes up. The label's value will not change after it's calculated. Is there a way to do this?