自動付加の設定
追加の設定を使用して、デフォルトのサービスの代わりに特定の Java サービスに Java エージェントを自動付加することができます。
Before You Begin
You must have Smart Agent command line utility installed. See スマートエージェントのコマンド ライン ユーティリティ.
It is recommend to use Smartagentctl instead of Smart Agent Command Line Utility. See Install Smart Agent.
スマートエージェント CLI を使用した自動付加の設定
d_preload.json を上書きして、Java エージェントを特定のサービスに自動付加できます。自動付加機能の詳細については、「Java および NodeJS エージェントの自動付加」を参照してください。configure コマンドを使用して、設定を上書きします。
appd configure smartagent --attach-configure-file { path_to_ld_preload_json } これにより、ld_preload.json が制御ノードから管理対象ノードにコピーされます。