Knowledge Base

Showing results for 
Search instead for 
Did you mean: 

Instrumenting Solr 6.5.x with AppDynamics Agent

To configure Apache Solr version 6.5.x with AppDynamics Agent (preferably version 4.2.x or higher), use the following steps:


  1. Navigate to /<solr-home>/bin/ on the Controller machine.

  2. Add the following snippet to the file in order to add the Java Agent.

SOLR_OPTS="$SOLR_OPTS -javaagent:<app_agent_install>/ver4.2.10.0/javaagent.jar"


SOLR_OPTS="$SOLR_OPTS -Dappdynamics.agent.applicationName=Solr -Dappdynamics.agent.tierName=SolrTier -Dappdynamics.agent.nodeName -javaagent:/Users/XXX/Documents/Agent/AppServerAgent-"


  1. Restart Solr.
Version history
Revision #:
4 of 4
Last update:
‎06-25-2020 11:54 PM
Updated by:
Labels (1)

Found this article helpful? Click the Thumbs Up button.
Have an additional comment? Post it below.
SOLR_OPTS="$SOLR_OPTS -Dappdynamics.agent.applicationName=Solr -Dappdynamics.agent.tierName=SolrTier -Dappdynamics.agent.nodeName-javaagent:/Users/XXX/Documents/Agent/AppServerAgent-" 

just need to understand is there a space  after nodeName -javaagent

@Stevon.Gomez yes, there should be a space. Thank you for the pointer. Looks like a typo mistake. I will correct it. 

@Preet.Gaur @Stevon.Gomez I've updated the article to reflect this change. Thank you both!