• Linux用Agentの datadog.yaml の apm_config セクションで apm_non_local_traffic: true を設定し、別サーバーからのAPMト レースを収集できるようにする。(これにより 127.0.0.1:8126 で LISTENしていたものが *:8126 でLISTENするようになる) Datadog On-prem DC App Server (Unix) Database Datadog agent Datadog tracer Datadog agent Collector (Linux) Datadog agent Traces ## @param receiver_port - integer - optional - default: 8126 ## @env DD_APM_RECEIVER_PORT - integer - optional - default: 8126 ## The port that the trace receiver should listen on. ## Set to 0 to disable the HTTP receiver. # # receiver_port: 8126 ## @param receiver_socket - string - optional ## @env DD_APM_RECEIVER_SOCKET - string - optional ## Accept traces through Unix Domain Sockets. ## It is off by default. When set, it must point to a valid socket file. # # receiver_socket: <UNIX_SOCKET_PATH> ## @param apm_non_local_traffic - boolean - optional - default: false ## @env DD_APM_NON_LOCAL_TRAFFIC - boolean - optional - default: false ## Set to true so the Trace Agent listens for non local traffic, ## i.e if Traces are being sent to this Agent from another host/container # # apm_non_local_traffic: false datadog.yaml ファイル apm_config セクション抜粋: ← trueに変更する Trace