Container name does not appear in the Investigator.

Document ID : KB000066715
Last Modified Date : 13/03/2018
Show Technical Document Details
Question:

Currently the Investigator shows the name "JBoss Agent%n", how can we obtain the container's name in the Metric Browser?

Environment:
Introscope Agent from 9.7x awards.
Answer:

To get the name of the containers, perform the following steps:


1) Set the following properties under the IntroscopeAgent.Profile as "serverName"

introscope.agent.agentNameSystemPropertyKey=serverName

2) Set "-DserverName=" in the startup path of the Introscope Agent, where this name will be showed in the Investigator.

e.g.
-javaagent:/opt/CA_APM/wily/Agent.jar -Dcom.wily.introscope.agentProfile=/opt/CA_APM/wily/core/config/IntroscopeAgent.profile -DserverName=myServerName
 

In the case above, "myServerName" will be shown in the Investigator.