Take a look at the metrics available starting with 6.4
(https://lucene.apache.org/solr/guide/7_4/performance-statistics-reference.html).

Or just hit: http://blahblahblah/solr/admin/metrics to see them all.
WARNING: be prepared to spend an hour looking through the list, there
are a _log_ of them.....

Erick
On Mon, Sep 17, 2018 at 2:45 PM Christopher Schultz
<ch...@christopherschultz.net> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Shawn,
>
> On 9/17/18 17:21, Shawn Heisey wrote:
> > On 9/17/2018 3:01 PM, Christopher Schultz wrote:
> >> The basic questions I'd like to have answered on a regular basis
> >> are:
> >>
> >> 1. Is the JVM up (this can be done with a ping, of course) 2. Is
> >> the heap healthy? Any OOMEs? 3. Will a sample query return in a
> >> reasonable amount of time?
> >>
> >> 1 and 3 are quite easily done using e.g. /solr/[c]/ping, but #2
> >> is trickier. I can do this via JMX, but I'd prefer to avoid
> >> spinning-up a whole JVM just to probe Solr for one or two
> >> values.
> >
> > If your Solr version is at least 5.5.1 and you're NOT on Windows,
> > number 2 can also be verified by a ping request.
>
> Interesting. I did mention 7.4.0 but not my OS. I'm on Debian Linux,
> and I'm running Solr using the Solr-supplied init.d scripts (via solr
> install).
>
> > With a new enough version on the correct operating system, Solr is
> > started with an option that will kill the process should an
> > OutOfMemoryError occur.  When that happens, it won't be able to
> > answer a ping request.
> >
> > Here's the issue that fixes a problem with the startup on 5.5.1 or
> > later:
> >
> > https://issues.apache.org/jira/browse/SOLR-8145
>
> Given that, I'll go ahead and set things up to do a simple
> /solr/[c]/ping request for health-monitoring.
>
> Thanks,
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/
>
> iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlugIGMACgkQHPApP6U8
> pFi8YQ//dwJdJG1VtqUgbFI437HzUMhuI+9SBOf0nateQFqQbfoqkLhC/z3dwjvj
> qqhqcT68D2x1bYYk/5we7KD9I6PZ50mL5sZlU34NYC9AFMB5QEdTtWljlqGM/Xoe
> elvsKYJVmZn9kvc6iwqyLU71clcRX27NhEDAFrPrCmhgZKRTpNqtgYyEOsIJZ/CL
> muMml4hV5eNIc+VOle+jcqwTrWY4xtaf6Fmo6NLCsUvC2CB5/QI7JoYzvnLvVVMD
> IVn6AnsLd/wIVSJiPyVYDA58/pVj1w6Jb36L8eg0fxfoO+eAkObUU3s71QglZlIx
> m9Qkd8lGQ7qNxUDOMSgPNW/j7tZcxn39FRsM9b3z7kWJGriBcz/S5jX9QSNcArmh
> pyHIf48y8wOgl/wQsmsGgXsHtdlwJu+84B3sFGjUKQU/2JPO88XJEo+pKluaMFDO
> E2yZGdTvfRbXLTqe/XCGN89yKyIOKJAX2ZXP9EU0PmFSFbeod6oqbT/MKO3+DzCm
> PpkUV10vlmqnsJ+5edj89hmM5gJOKcwQTDZ2E/U5tvs4DJHZTG578hnZp1coDU/c
> m7M80m5SyE/5ycYBODp6oyJNAkEf6suJ+BIyQkr61t9/L7yvwSm80nFheFpVMIMX
> N/lRL9ar4U/lLDL00aVhDecyNSFOvDjSUBlIlQ4hUb80bZiz3xY=
> =lOp1
> -----END PGP SIGNATURE-----

Reply via email to