How to attach a New Relic monitor to LucidWorks Search


How can I use New Relic to monitor the LucidWorks Search core process?


You can specify the location of the newrelic.jar file with the -javaagent flag as follows.

1. Edit the master.conf file under [LWE_HOME]/conf

2. Locate the lweconnectors.jvm.params section

3. Add the -javaagent flag with the location of the newrelic.jar file

# JVM Settings for LWE-Core
lwecore.jvm.params=-javaagent:F:/newrelic_agent2.21.3/newrelic/newrelic.jar -Xms512M -Xmx1024M -XX:MaxPermSize=256M -Duser.language=en -Duser.timezone=UTC -Dfile.encoding=UTF-8

 NOTE: For both Windows and Unix/Linux system make sure to use forward slashes as the directory delimiter. Using backslashes will result in an error message similar to:

0:Error occurred during initialization of VM

1:agent library failed to init: instrument

2:Error opening zip file or JAR manifest missing : F:

4. Save the master.conf file

5. Restart the LucidWorks Service

Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk