lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nawab Zada Asad Iqbal <>
Subject Solr Metrics mismatch the query logs
Date Thu, 29 Mar 2018 03:27:41 GMT

I gather solr metrics from the following URL for my request handler.


Specifically, there is a requests value in the stats map for each handler.
I use this value to calculate the requests which arrived between two
successive intervals when I retrieved the stats.

What i want to know is:

How is this number updated? At the start of the query handler  execution or
near the end? I tried to grep the code but couldn't find the place.

How does this number match with queryStartTime and queryEndTime which
appear in INFO log for each query.

I have noticed that sometimes there is a big spike in the numbers coming
from the metrics api (requests count), while the count of the queries in
the logs don't jump as drastically.

PS: I am using solr4 hence the metrics api url may not work for recent


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message