I have a rancher cluster where we are running Dev and QA versions of the same image. However the PG detection clubs there two processes running in two different container as one PG. How can I separate them out so that the QA and Dev show as different process groups?
I was hoping someone in the community has already solved this issue and willing to share.
Solved! Go to Solution.
Process Group detection rules should be what you're after (Settings > Process & Containers > Process group detection). In essence, you capture a detail (environment variable, java system properties, or process properties) that is present in both processes and identifies them and use this detail to split the group based on it.
More details here:
Container and Container image version are available under 'process property' category. You can't use regex, but you can check if specific text is present (i.e. "contains x") and then extract strings of it between specific delimiters.