Greetings,

I'm using Solr 7.6 and have enabled JMX metrics.

I ran into this page:
https://lucene.apache.org/solr/guide/7_6/performance-statistics-reference.html#commonly-used-stats-for-request-handlers

Which mentions "avgRequestsPerSecond" and "avgTimePerRequest" and some
other attributes, which do not exist anymore in this version. I have an
older version(4) I spun up to have a look and they do exist in that version.

When getting info on a QUERY or UPDATE bean with name `requestTimes`, I get
this:

# attributes
  %0   - 50thPercentile (double, r)
  %1   - 75thPercentile (double, r)
  %2   - 95thPercentile (double, r)
  %3   - 98thPercentile (double, r)
  %4   - 999thPercentile (double, r)
  %5   - 99thPercentile (double, r)
  %6   - Count (long, r)
  %7   - DurationUnit (java.lang.String, r)
  %8   - FifteenMinuteRate (double, r)
  %9   - FiveMinuteRate (double, r)
  %10  - Max (double, r)
  %11  - Mean (double, r)
  %12  - MeanRate (double, r)
  %13  - Min (double, r)
  %14  - OneMinuteRate (double, r)
  %15  - RateUnit (java.lang.String, r)
  %16  - StdDev (double, r)
  %17  - _instanceTag (java.lang.String, r)
# operations
  %0   - javax.management.ObjectName objectName()
  %1   - [J values()
#there's no notifications

And it seems that none of the current values are actually a proper
replacement for the functionality these values used to offer.

How shall I go about getting this info now? Do I need to combine several
other metrics?

For completeness sake, my solr.xml, where I enabled JMX, is just the
default example from the documentation, with JMX added:


<solr>
    <solrcloud>
        <str name="host">${host:}</str>
        <int name="hostPort">${jetty.port:8983}</int>
        <str name="hostContext">${hostContext:solr}</str>
        <int name="zkClientTimeout">${zkClientTimeout:15000}</int>
        <bool
name="genericCoreNodeNames">${genericCoreNodeNames:true}</bool>
    </solrcloud>
    <shardHandlerFactory name="shardHandlerFactory"
class="HttpShardHandlerFactory">
        <int name="socketTimeout">${socketTimeout:0}</int>
        <int name="connTimeout">${connTimeout:0}</int>
    </shardHandlerFactory>
    <metrics>
        <hiddenSysProps>
            <str>javax.net.ssl.keyStorePassword</str>
            <str>javax.net.ssl.trustStorePassword</str>
            <str>basicauth</str>
            <str>zkDigestPassword</str>
            <str>zkDigestReadonlyPassword</str>
        </hiddenSysProps>
        <reporter name="defaultJmx"
class="org.apache.solr.metrics.reporters.SolrJmxReporter">
            <str
name="rootName">very_obvious_name_for_easy_reading_${jetty.port:8983}</str>
        </reporter>
    </metrics>
</solr>


Kind regards,
Koen De Groote

Reply via email to