アプリケーション問題切り分けマップに表示される場合、コンポーネント名には宛先ホストとポート ID が含まれます。クライアントのソケット メトリック名も同様に表示されます。 コンポーネント名のホスト ID には、ホスト名またはホストの IP アドレスのどちらかを使用するように設定できます。 デフォルトではホスト名を使用します。 表示されるコンポーネント名を変更できます。
以下の手順に従います。
たとえば、以下のように、元のトレーサはデフォルトの {hostname} を使用しています。
TraceOneMethodWithParametersIfFlagged: SocketTracing read AppMapSocketTracerBT "System {hostname} on port {port}"
TraceOneMethodWithParametersIfFlagged: SocketTracing write AppMapSocketTracerBT "System {hostname} on port {port}"
ホスト IP を表示するには、代わりに {hostip} を使用します。
TraceOneMethodWithParametersIfFlagged: SocketTracing read AppMapSocketTracerBT "System {hostip} on port {port}"
TraceOneMethodWithParametersIfFlagged: SocketTracing write AppMapSocketTracerBT "System {hostip} on port {port}"
|
Copyright © 2013 CA.
All rights reserved.
|
|