On Thu, Feb 25, 2010 at 10:56 AM, Dan Trainor <dtrai...@toolbox.com> wrote:

>
> Right now, being inexperienced with JMX and all, I was wondering if there
> was a way to pull all Solr-specific items out of there.  I see some general
> counters pertaining to each of my Solr instances, but nothing along the
> lines of lookups, hits, hit ratios, and the like.  They're all more
> Tomcat-centric - memory usage etc etc.  That's fine, too, but the whole
> point of this exercise is to get instance-specific statistics regarding
> Solr.
>
> Is this information exposed via JMX under Solr?  Can I pull a list
> somewhere of all items that find their way through JMX to be seen from an
> external source?
>

That information can be found as an attribute inside the RequestHandler's
MBean. It is possible to pull out all the available MBeans, see
TestJmxIntegration#testJmxRegistration

https://svn.apache.org/repos/asf/lucene/solr/trunk/src/test/org/apache/solr/core/TestJmxIntegration.java

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to