응용 프로그램 심사 맵에 표시되는 구성 요소 이름에는 대상 호스트 및 포트 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.
|
|