re: monitoring performance trends we use a free option which is lightweight and works at collecting the general java stats info out of solr is using the sflow agent for java. in concert with a host sflowd setup you can gather the jvm and system stats in decently dense intervals (default is 30s) and then inject them into a trending/graphing system like ganglia or graphite
http://blog.sflow.com/2011/09/java-virtual-machine.html
http://blog.sflow.com/2010/10/installing-host-sflow-on-linux-server.html
for deeper solr specific stats, the JMX interface is worth setting up. this is very easy at the jetty level. you can add the jetty-jmx.xml from a full jetty distribution to the solr bundle.
http://wiki.eclipse.org/Jetty/Tutorial/JMX
the not often mentioned stats URL is another interface which you could scrape for stats (although i just noticed this url doesnt seem to work in my 4.4.0 test environment (it does work on the 4.2.1 hosts) so something may have changed, or my 4.4 env is just broken ;)
http://solr_hostname:8983/solr/admin/mbeans/?stats=true
Read full article from Solr - User - Regarding mointoring the solr
No comments:
Post a Comment