process-exporter icon indicating copy to clipboard operation
process-exporter copied to clipboard

Added remove-empty-groups option

Open zviRosenfeldRedis opened this issue 1 year ago • 2 comments

If this option is True (default false) we'll remove groups if they have 0 processes (by default we leave the group, assuming processes from that group will be back)

The only real change is at the end of file proc/grouper.go - where I remove un-found groups if remove-dead-groups is true

fixed https://github.com/ncabatoff/process-exporter/issues/282

zviRosenfeldRedis avatar Nov 20 '23 14:11 zviRosenfeldRedis

This seems like a reasonable option. If you resolve the conflicts I'm open to merging it. Sorry for the long delay!

ncabatoff avatar Apr 28 '24 18:04 ncabatoff

@ncabatoff. Thanks. I've solved the conflicts

zviRosenfeldRedis avatar May 01 '24 07:05 zviRosenfeldRedis

Thanks @zviRosenfeldRedis !

ncabatoff avatar Jul 21 '24 19:07 ncabatoff