When attempting to instrument Identity Governance (IG) v15 with the DX APM Java Agent, the agent does not load even after adding the -javaagent arguments to the idg.yaml file. The Java process command line does not show the agent argument, and no agent logs are created.
Users may have tried variations of the following in idg.yaml without success:
jvm_args: - "-javaagent:/opt/brcm/apm_ig/Agent.jar"
IGA v15
The Identity Governance v15 configuration loader does not recognize the key jvm_args. For YAML-based configuration in this version, the correct variable for passing JVM arguments is java_opts.
java_opts is the global variable used by the v15 wrapper to inject parameters into the startup command.To successfully load the DX APM agent, use one of the two following methods:
Modify the idg.yaml file to use the java_opts key. Ensure the syntax is formatted as a single line or a valid YAML list:
Engineering recommends using the console for a more managed configuration:
After restarting the service, run the following command to confirm the JVM has picked up the agent: ps -ef | grep java | grep Agent.jar