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:
- Navigate to
/<solr-home>/bin/solr.in.sh
on the Controller machine. - Add the following snippet to the
solr.in.sh
file in order to add the Java Agent.
SOLR_OPTS="$SOLR_OPTS -javaagent:<app_agent_install>/ver4.2.10.0/javaagent.jar"
Example:
SOLR_OPTS="$SOLR_OPTS -Dappdynamics.agent.applicationName=Solr -Dappdynamics.agent.tierName=SolrTier -Dappdynamics.agent.nodeName -javaagent:/Users/XXX/Documents/Agent/AppServerAgent-4.2.10.0/ver4.2.10.0/javaagent.jar"
- Restart Solr.
Comments
01-30-2019
09:53 PM
- Mark as Read
- Mark as New
- Bookmark Message
- Permalink
- Report Inappropriate Content
01-30-2019
09:53 PM
SOLR_OPTS="$SOLR_OPTS -Dappdynamics.agent.applicationName=Solr -Dappdynamics.agent.tierName=SolrTier -Dappdynamics.agent.nodeName-javaagent:/Users/XXX/Documents/Agent/AppServerAgent-4.2.10.0/ver4.2.10.0/javaagent.jar"
just need to understand is there a space after nodeName -javaagent
01-31-2019
07:52 PM
- Mark as Read
- Mark as New
- Bookmark Message
- Permalink
- Report Inappropriate Content
01-31-2019
07:52 PM
@Anonymous yes, there should be a space. Thank you for the pointer. Looks like a typo mistake. I will correct it.
02-15-2019
10:57 AM
- Mark as Read
- Mark as New
- Bookmark Message
- Permalink
- Report Inappropriate Content
02-15-2019
10:57 AM
@Preet.Gaur @Anonymous I've updated the article to reflect this change. Thank you both!