New Relic Solr Tutorial - SearchStax

SearchStax® from Measured Search® helps companies host, deploy, and administer their Solr search solutions in the cloud. The SearchStax product suite offers automated provisioning and scaling of Apache Solr Search Engines, backups, 24/7 monitoring and alerting, comprehensive analytics, and administrative tools.

New Relic APM is a software-analytics service for application performance monitoring (APM). It provides both current and historical information about memory usage, CPU utilization, database query performance, web browser rendering performance, application availability and error analysis, external services, and other useful metrics.

New Relic Servers allows you to view and analyze critical cloud server metrics, including CPU usage, physical memory, network activity, processes, and disk I/O utilization and capacity.

SearchStax is easily integrated with these New Relic services, combining ease of cloud deployment with ease of application and system monitoring. This page shows you how to put it all together.

SearchStax also integrates easily with PagerDuty and Silk.

Combining SearchStax and New Relic Services

It is very easy to integrate the New Relic services with SearchStax. There are five steps:

Set up Your Solr Application

New Relic monitoring is orthogonal to your Solr application. You don't have to do anything in Solr to make it work.

New Relic and SearchStax both can monitor Solr throughput, cache behavior and general server health. The monitoring tools in SearchStax compliment those of New Relic, giving you insight at the network, server, and application level. See Searchstax monitoring for more information.

Create Your SearchStax Deployment

Create a SearchStax deployment so that you have admin access to the SearchStax dashboard. See our Quick Start page for helpful information.

Subscribe to New Relic Monitoring

Many SearchStax users are already using the New Relic services. If you are unfamiliar with New Relic, they offer a free 14-day trial. See the New Relic website for further information.

Look on the Account Settings page of your New Relic user account for your License Key. Screenshot
You'll need to enter this number in the SearchStax dashboard in a minute.

Connect SearchStax to New Relic

There are two steps to hook up New Relic services to a SearchStax deployment.

First, open the SearchStax dashboard and navigate to Account Settings > Third-party access > New Relic. Enter the New Relic license key and click Save. Screenshot

Second, navigate to the Deployments screen. Select a deployment (by clicking the blue arrow button next to it.) Screenshot

When you see the list of deployment servers, click the gear icon in the upper right. Select New Relic Settings in the drop-down menu. Screenshot

Check one or both New Relic services and click Save. Note that the APM service involves restarting all of your Solr applications. This takes a few minutes.

Screenshot

That's all. Just paste in the New Relic license key and check one or two boxes. That's all it takes to connect New Relic monitoring to SearchStax!

Monitor Your Servers via the New Relic Dashboard

Return to the New Relic website and select APM from the navigation bar across the top of the page. This overview presents data on how responsive your application is to user activity.
Screenshot

Click Servers on the navigation bar. This table monitors the health of the cloud servers in your SearchStax deployment. Screenshot