Thanks, I was hoping there was a way without a core reload.
Do you know what is different with cloud? I need to do this in both. Jeff Courtade M: 240.507.6116 On Apr 2, 2016 1:37 PM, "Shawn Heisey" <apa...@elyograg.org> wrote: > On 4/2/2016 11:06 AM, Jeff Courtade wrote: > > I am putting together some montitors for various things. > > > > The counters seem to be ... from the beginning of the process. > > > > This makes many of them not so useful for long term monitoring and > alerting. > > > > Is there a way to rest the counters without restarting solr or reloading > a > > core? > > > > For instance: these seem to be from the time the process started. > > > > java -jar /opt/scripts/pkg/cmdline-jmxclient-0.10.3.jar - localhost:9010 > > > solr/collection1:id=org.apache.solr.handler.component.SearchHandler,type=/select > > $NAME > > > > avgTimePerRequest.value 363.66010984870064 > > medianRequestTime.value 1240.4161144999998 > > 75thPcRequestTime.value 1614.2324915 > > 95thPcRequestTime.value 3048.378881099999 > > 99thPcRequestTime.value 5930.183086690001 > > Some of the information you find in statistics might indeed go back to > the last Solr start. > > The specific stats that you have indicated are most useful over a long > period of time, ideally for the entire time Solr has been running, but > if you do want to reset them, you can do so with a core reload. If > you're running cloud (doesn't look like you are), then you would reload > the whole collection, probably not the core. > > Thanks, > Shawn > >