Monitoring Apache Solr

The Apache Solr sensor is automatically deployed and installed after you install the Instana agent.

Supported Versions

Currently, supported versions are Apache Solr 4.0 or newer.

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.

Metrics collection

To view the metrics, select Infrastructure in the sidebar of the Instana User interface, click a specific monitored host, and then you can see a host dashboard with all the collected metrics and monitored processes.

Configuration data

  • Port
  • Version
  • Cores
    • Name
    • Version
    • Start Time

Performance Metrics (per core)

Metric Description
Average request time Average time for request processing
Requests Number of requests
Cache Lookups Number of cache lookups
Cache Hit Rate Cache hit percentage
Inserts Number of inserts
Evictions Number of evictions
Errors Number of server errors
Timeouts Number of timeouts
Documents Added Number of added documents
Documents Pending Number of pending documents (to be processed)

Note: To see these metrics that you need to define your cores.

Health Signatures

For each sensor, there is a curated knowledgebase of health signatures that are evaluated continuously against the incoming metrics and are used to raise issues or incidents, which depend on user impact.

Built-in events trigger issues or incidents based on failing health signatures on entities, and custom events trigger issues or incidents based on the thresholds of an individual metric of any entity.

For information about built-events for Solr Node, see Built-in events reference.

Cloud

Tracked Configuration

  • Cluster name
  • Nodes or Number of nodes
  • Shards or Number of shards

Metrics

Metric Description
Average request time Average time for request processing
Requests Number of requests
Cache Lookups Number of cache lookups
Cache Hit Rate Cache hit percentage
Inserts Number of inserts
Evictions Number of evictions
Errors Number of server errors
Timeouts Number of timeouts
Documents Added Number of added documents
Documents Pending Number of pending documents (to be processed)

Health Signatures

For information about built-events for Solr Cloud, see the Built-in events reference.