Java Solr data does not appear

Problem

You are using the Solr platform in your web application, but Solr data does not appear in the New Relic APM UI for your app from rpm.newrelic.com > (select a Java app) > Monitoring.

Solution

To ensure Solr is configured correctly and data is reporting to New Relic, do the following as applicable:

  • JMX: Ensure JMX is enabled in your Solr configuration in solrconfig.xml by using the <jmx/> tag. The solrconfig.xml file is the configuration file with the most parameters affecting Solr itself.
  • Jetty: If you are a Jetty user, manually enable JMX for Jetty.
  • Solr metrics: Check the JMX console for Solr metrics. The Solr cache and updates come from MBeans.

For more help

Recommendations for learning more: