You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "matthew medway (Jira)" <ji...@apache.org> on 2020/06/09 16:30:00 UTC

[jira] [Created] (SOLR-14551) Missing Core CACHE Metrics when using SolrGraphiteReporter

matthew medway created SOLR-14551:
-------------------------------------

             Summary: Missing Core CACHE Metrics when using SolrGraphiteReporter
                 Key: SOLR-14551
                 URL: https://issues.apache.org/jira/browse/SOLR-14551
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: SolrCloud
    Affects Versions: 7.5
         Environment: Ubuntu 16.04
Solrcloud 7.5
            Reporter: matthew medway
         Attachments: image-2020-06-09-12-22-53-480.png

Hello,

I was doing some testing of the SolrGraphiteReporter reporter and it looks to be working really well.  One problem that I have noticed so far is that the CACHE metrics from the core registry are not being sent to graphite.  I can view these metrics with the metrics api like this:

[http://<clustername>/solr/admin/metrics?group=core&prefix=CACHE
|http://us03solrcloud.lab.int.d2l/solr/admin/metrics?group=core&prefix=CACHE]example results returned:

"CACHE.searcher.filterCache":{
 "lookups":10,
 "hits":7,
 "cumulative_evictions":0,
 "size":3,
 "hitratio":0.7,
 "evictions":0,
 "cumulative_lookups":10,
 "cumulative_hitratio":0.7,
 "warmupTime":0,
 "inserts":3,
 "cumulative_inserts":3,
 "cumulative_hits":7},



All of the other metrics for cores are present but just not CACHE.  If I do query looking for the data in grafana with the graphite source it autocompletes for the data in the other sections like ADMIN, QUERY, INDEX, etc. Manually typing CACHE in the query doesnt return results either. 

!image-2020-06-09-12-22-53-480.png!

My solr.xml reporter section looks like this (redacted server name):

 <metrics>
 <reporter name="graphite" class="org.apache.solr.metrics.reporters.SolrGraphiteReporter">
 <str name="host">redacted</str>
 <bool name="pickled">true</bool>
 <int name="port">2004</int>
 <int name="period">60</int>
 </reporter>
 </metrics>

As I understand from the documentation for reporters about groups and registries: "If neither attribute is specified then the plugin will be used for all groups and registries. " so i expected to see CACHE being report but it is not. Please let me know if there is a workaround or fix for this or if i'm doing something wrong.

Thanks!
-Matt



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org