David Smiley created SOLR-15905:
-----------------------------------
Summary: Don't automatically register Solr's metrics with JMX
(SolrJmxReporter)
Key: SOLR-15905
URL: https://issues.apache.org/jira/browse/SOLR-15905
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Components: metrics
Reporter: David Smiley
Solr auto-creates a metrics SolrJmxReporter if there is a Java platform
"MBeanServer" that exists, which AFAICT is always. Since JMX isn't
disable-able (right?), I think Solr shouldn't do this. Pertinent code is in:
SolrXmlConfig.getMetricReporterPluginInfos.
To be clear, SolrJmxReporter will definitely still exist; it'll just be opt-in.
https://lists.apache.org/thread/fhfsc2fnksz7tk5nqhjzb9cdy3qmh9gd
Benefits are minor but it's something. Reduce core load & start time, and
related logging of this. Perhaps there are positive security ramifications as
well. Maybe it'll improve our test suite performance too.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]