[
https://issues.apache.org/jira/browse/SOLR-14394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17077933#comment-17077933
]
Andrzej Bialecki commented on SOLR-14394:
-----------------------------------------
I think this is generally a good idea, just keep in mind that the lazy init
needs access to the parent SolrMetricsContext and the handler's scope in order
to properly construct metrics names.
> Many request handlers should be startup=lazy
> --------------------------------------------
>
> Key: SOLR-14394
> URL: https://issues.apache.org/jira/browse/SOLR-14394
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: David Smiley
> Priority: Minor
>
> Solr cores track a lot of granular metric information per request handler.
> This is noise for a request handler that we aren't even using! The vast
> majority of request handlers are not used in a typical app. That doesn't
> mean they shouldn't be available for use, I'm only saying that they aren't
> until perhaps for diagnostic purposes or something. *I think it would be
> better to not track metrics on something until we actually use it.* For a
> request handler, this is done by setting startup=lazy. Most implicitly
> registered plugins should have this set in ImplicitPlugins.json.
> CC [~ab] [~noble.paul]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]