This page describes how to instrument Apache Solr with the Java Agent.
Instrument Solr in a Linux Environment
- Open a terminal.
Execute the following commands to add the
javaagentargument to the Solr server:
For the argument value, reference the full path to the Java Agent installation directory.
Instrument Solr in a Windows Environment
Add the Java Agent to the Solr configuration file,
You can find the file at:
Add the following line just below "
REM set SOLR_OPTS=%SOLR_OPTS%":
Restart the Solr service.