Re: Disable metrics reporting to JMX

2022-01-10 Thread David Smiley
Thanks for sharing that Matthias; point taken. I know it's useful for some users, it isn't going away. I filed a JIRA issue: https://issues.apache.org/jira/browse/SOLR-15905 It's debatable wether's solr.xml should come with it enabled by default or not. I don't have a strong opinion there. ~ Da

Re: Disable metrics reporting to JMX

2022-01-10 Thread Matthias Krueger
JMX has its issues but we should be aware that it currently provides a relatively generic and easy to use integration point and is used by, for example, the Datadog Solr integration: https://github.com/DataDog/integrations-core/tree/master/solr (and maybe others). On 10.01.22 14:30, Andrzej B

Re: Disable metrics reporting to JMX

2022-01-10 Thread Andrzej BiaƂecki
I agree, we should disable it by default (8x probably still needs to enable it by default for back-compat?) > On 10 Jan 2022, at 13:56, Eric Pugh wrote: > > Seems like if folks are not using it as much, maybe it should be disabled by > default? > > In SOLR-15887 I removed the from the solrc

Re: Disable metrics reporting to JMX

2022-01-10 Thread Eric Pugh
Seems like if folks are not using it as much, maybe it should be disabled by default? In SOLR-15887 I removed the from the solrconfig.xml files, and added a commented out setup in solr.xml: https://github.com/apache/solr/blob/main/solr/server/solr/solr.xml#L61

Re: Disable metrics reporting to JMX

2022-01-09 Thread Mark Miller
JMX is really a toy metric system and comes with potential security concerns that have to be considered and managed over time. The cost in the case you are seeing has also been potentially much worse in the past - a variety of expensive metrics are now cached I believe - but as it iterated over

Disable metrics reporting to JMX

2022-01-09 Thread David Smiley
I noticed Solr auto-creates a metrics SolrJmxReporter if there is a platform "MBeanServer" that exists, which AFAICT is always. Thanks? Ehh, no thanks. It's not evident how to disable JMX after some fruitless google searches. Don't get me wrong, I like jconsole, jvisualvm, JFR etc and I think s