Is the property introscope.agent.agentNameSystemPropertyKey= an alternate method of setting the agent name?
search cancel

Is the property introscope.agent.agentNameSystemPropertyKey= an alternate method of setting the agent name?

book

Article ID: 418219

calendar_today

Updated On:

Products

DX Application Performance Management

Issue/Introduction

Can I use agentNameSystemPropertyKey to name the Agent even though I have set agentName?  Does one override the other?

Resolution

1. The "agentNameSystemPropertyKey" is an alternate way of naming the agent instead of "agentName".

2. If the "agentName" property is not set, then "agentNameSystemPropertyKey" will override it.

Below is a link to the way the agent naming is determined and in the order we look for the name.  So if both above are set, it will take "agentName" first even though you have "agentNameSystemPropertyKey" set.

Java Agent Naming