[ 
https://issues.apache.org/jira/browse/SOLR-14551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthew Biscocho resolved SOLR-14551.
-------------------------------------
    Resolution: Won't Fix

SolrGraphiteReporter removed in Solr 10. Use prometheus or OTLP instead.

> Missing Core CACHE Metrics when using SolrGraphiteReporter
> ----------------------------------------------------------
>
>                 Key: SOLR-14551
>                 URL: https://issues.apache.org/jira/browse/SOLR-14551
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 7.5
>         Environment: Ubuntu 16.04
> Solrcloud 7.5
>            Reporter: matthew medway
>            Priority: Critical
>              Labels: 7.5, CACHE, SolrGraphiteReporter, metrics, missing, solr
>         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
> example results:
>  "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 reported 
> 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.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to