You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by gnandre <ar...@gmail.com> on 2020/10/26 22:33:36 UTC

Duplicate entries for request handlers in Solr metric reporter

Hi,

I have hooked up Grafana dashboards with Solr 8.5.2 Prometheus exporter.
For some reason, some dashboards like Requests, Timeouts are not showing
any data. When I took a look at corresponding data from Prometheus
exporter, it showed two entries per search request handler, first with
count of 0 and the second with the correct count. I am not sure why the
entry with count 0 is appearing or all search request handlers. I checked
the configuration and there is no duplication of request handlers in
solrconfig.xml. My guest is that Grafana is picking up this first entry and
therefore does not show any data.

E.g.

solr_metrics_core_requests_total{category="QUERY",handler="/questions",core="answers",base_url="
http://localhost:8983/solr",} 0.0

solr_metrics_core_requests_total{category="QUERY",handler="/questions",core="answers",base_url="
http://localhost:8983/solr",} 4534446.0