Apache Solr

Supported Versions

Currently supported versions are Apache Solr 4.0 or newer.

Sensor (Data Collection)

Tracked Configuration

  • Port
  • Version
  • Cores

    • Name
    • Version
    • Start Time

Metrics (per core)

  • Requests
  • Average Request Time
  • Cache Lookups
  • Cache Hit Rate
  • Inserts
  • Evictions
  • Errors (Server)
  • Timeouts
  • Documents Added
  • Documents Pending

Note: In order to see these metrics you need to have cores defined.

Health Signatures

Health Description
Cache Hit Rate and Evictions Solr cache hit rate is below 80% over the past minute, possibly due to high evictions or clients are querying wrong data

Configuration

To collect data, JMX module needs to be enabled in Solr:

  • Add <jmx /> to <SOLR_HOME>/server/solr/configsets/basic_configs/conf/solrconfig.xml

  • Set ENABLE_REMOTE_JMX_OPTS="true" in <SOLR_HOME>/bin/solr.in.sh.