You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Andrzej Bialecki (Jira)" <ji...@apache.org> on 2021/08/03 17:23:00 UTC
[jira] [Commented] (SOLR-15572) Improve the default Prometheus
exporter config performance
[ https://issues.apache.org/jira/browse/SOLR-15572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17392436#comment-17392436 ]
Andrzej Bialecki commented on SOLR-15572:
-----------------------------------------
These are the equivalent expressions that select the metrics that the default config knows how to process:
{code:xml}
<str name="expr">solr\.jetty:.*DefaultHandler.*</str>
<str name="expr">solr\.jvm:.*</str>
<str name="expr">solr\.overseer:.*</str>
<str name="expr">solr\.core\..*:QUERY\..*</str>
<str name="expr">solr\.core\..*:ADMIN\..*</str>
<str name="expr">solr\.core\..*:CACHE\..*</str>
<str name="expr">solr\.core\..*:UPDATE\.updateHandler\..*</str>
<str name="expr">solr\.core\..*:CORE\.fs\..*</str>
<str name="expr">solr\.core\..*:HIGHLIGHTER\..*</str>
<str name="expr">solr\.core\..*:INDEX\..*</str>
<str name="expr">solr\.core\..*:REPLICATION\.replication\..*</str>
<str name="expr">solr\.core\..*:SEARCHER\.searcher\..*</str>
{code}
These metrics populate various panels in the default Grafana dashboard, but IMHO they are overkill for routine monitoring - OTOH they may be handy if you want to collect the history of these metrics for post-mortem analysis.
I'm open to suggestions how to modify this list - this change at least avoids exporting exotic metrics such as TLOG, and makes it much easier to trim down those that are not needed.
> Improve the default Prometheus exporter config performance
> ----------------------------------------------------------
>
> Key: SOLR-15572
> URL: https://issues.apache.org/jira/browse/SOLR-15572
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: contrib - prometheus-exporter
> Reporter: Andrzej Bialecki
> Assignee: Andrzej Bialecki
> Priority: Major
>
> Follow-up to SOLR-15564. Using {{expr}} parameters it's possible to very efficiently pick only the metrics we are interested in. This should drastically reduce the load on Solr nodes and on the exporter process.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org