AgentName in APM
search cancel

AgentName in APM

book

Article ID: 260962

calendar_today

Updated On:

Products

CA Application Performance Management SaaS

Issue/Introduction

Java agent on a spectrum oneclick server, there are two instances of java, If I want them to appear named correctly for example (oneclick and web onclick) in the DX APM dashboard so we clearly see what agent the metrics are related too. Is there a way to assign the agent name correctly? 

Currently they just call themselfs "AgentName" the introscope.agent.agentName=AgentName is configured if I change it both agents will pick up the new name, can I configure this to use unique names or do I simply need to have a second instance of the /wily/Agent.jar for example /opt/wily2/Agent.jar and then point the second java process to its own unique instance of the java agent ?

 

 

Environment

Release : SAAS

Resolution

You can use the

-Dcom.wily.introscope.agent.agentName=

Java Agent Naming

This will allow you to use the same agent package and set the name for different app.