Configure Auto-Attach
You can use additional configurations to auto-attach Java Agent to a specific Java service instead of the default one.
Before You Begin
You must have Smart Agent command line utility installed. See Smart Agent Command Line Utility.
It is recommend to use Smartagentctl instead of Smart Agent Command Line Utility. See Install Smart Agent.
Configure Auto-Attach Using Smart Agent CLI
d_preload.json to auto-attach Java
Agent to a specific service. For more information about auto-attach feature, see Auto-Attach Java and NodeJS Agents.configure command on Smart Agent CLI to overwrite the configuration.
appd configure smartagent --attach-configure-file { path_to_ld_preload_json }
This copies the ld_preload.json from control node to managed node.