Splitting of Java Process Instances

Hi all,

I am facing a problem with Dynatrace configuration when monitoring a Java process that starts multiple instances. The only difference between these instances in the command line arguments is the -DAppName parameter, for example:

-DAppName=Process1

-DAppName=Process2

Currently, Dynatrace is grouping all these instances within the same process group. I would like to separate them so that I can correctly set the memory parameters for each instance individually.

I have tried looking for solutions in the documentation, but have not found a clear way to perform this separation. Has anyone faced a similar problem or have any suggestions on how I can configure Dynatrace to recognize and separate these instances into different process groups?

I appreciate any advice or guidance you can offer.

Thanks in advance!

Hi,

I would suggest you creating a detection process group rule. You can adapt your logic for different conditions.

Keep in mind process should be restarted to apply rule.

Best regards