[ 
https://issues.apache.org/jira/browse/SOLR-15616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ishan Chattopadhyaya updated SOLR-15616:
----------------------------------------
    Description: 
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).


solr.xml:
{code}
<solr>
<metrics enabled=true>
  <caching>
    <int name="threadsIntervalSeconds">2</int>
  </caching>
..
</metrics>
</solr>
{code}

  was:
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).

{code}
<solr>
<metrics enabled=true>
  <caching>
    <int name="threadsIntervalSeconds">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
>          Components: metrics
>            Reporter: Ishan Chattopadhyaya
>            Assignee: Ishan Chattopadhyaya
>            Priority: Major
>         Attachments: SOLR-15616-2.patch, SOLR-15616-9x.patch, 
> SOLR-15616.patch, 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).
> solr.xml:
> {code}
> <solr>
> <metrics enabled=true>
>   <caching>
>     <int name="threadsIntervalSeconds">2</int>
>   </caching>
> ..
> </metrics>
> </solr>
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to