[ 
https://issues.apache.org/jira/browse/SOLR-15616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408710#comment-17408710
 ] 

Andrzej Bialecki edited comment on SOLR-15616 at 9/2/21, 9:39 AM:
------------------------------------------------------------------

Maybe something like this?
{code:java}
<solr>
<metrics enabled=true>
  <caching>
    <int name="threadCachingInterval">2</int>
  </caching>
..
</metrics>
</solr>
{code}

Adding more and more attributes to the main element would eventually look very 
ugly.


was (Author: ab):
Maybe something like this?
{code}
<solr>
<metrics enabled=true>
  <caching>
    <int name="threadCachingInterval">2</int>
  </caching>
..
</metrics>
</solr>
{code}

> Allow thread metrics to be cached
> ---------------------------------
>
>                 Key: SOLR-15616
>                 URL: https://issues.apache.org/jira/browse/SOLR-15616
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: metrics
>            Reporter: Ishan Chattopadhyaya
>            Assignee: Ishan Chattopadhyaya
>            Priority: Major
>         Attachments: SOLR-15616.patch
>
>
> Computing JVM metrics for threads can be expensive, and we should provide 
> option to users to avoid doing so on every call to the metrics API 
> (group=jvm).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to