You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Ishan Chattopadhyaya (Jira)" <ji...@apache.org> on 2021/09/02 09:31:00 UTC

[jira] [Comment Edited] (SOLR-15616) Allow thread metrics to be cached

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

Ishan Chattopadhyaya edited comment on SOLR-15616 at 9/2/21, 9:30 AM:
----------------------------------------------------------------------

bq. I think I would prefer to put this as a property somewhere in solr.xml:/solr/metrics
Sure, I'll add it there. Any preference for the property name/path?

I'm at a loss to find the right place. How does this look?
{code}
<solr>
<metrics enabled=true threadCachingInterval="2">
..
</metrics>
</solr>
{code}


was (Author: ichattopadhyaya):
bq. I think I would prefer to put this as a property somewhere in solr.xml:/solr/metrics
Sure, I'll add it there. Any preference for the property name/path?

> 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-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org