You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2017/01/02 19:36:58 UTC
[jira] [Updated] (SOLR-9896) Instrument and collect metrics from
thread pools
[ https://issues.apache.org/jira/browse/SOLR-9896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar updated SOLR-9896:
----------------------------------------
Attachment: SOLR-9896.patch
Patch which instruments the following thread pools:
# UpdateShardHandler's updateExecutor and recoveryExecutor at the path {{solr.http/updateShardHandler.threadPool.updateExecutor}} and {{solr.http/updateShardHandler.threadPool.recoveryExecutor}}
# HttpShardHandler's httpShardExecutor at {{solr.http/httpShardHandler.threadPool.httpShardExecutor}}
# CoreAdminHandler's parallelCoreAdminExecutor at {{solr.node/QUERYHANDLER./admin/cores.threadPool.parallelCoreAdminExecutor}}
# CoreContainer's coreContainerWorkExecutor and coreLoadExecutor at {{solr.node/threadPool.coreContainerWorkExecutor}} and {{solr.node/coreLoadExecutor}}
There are still other thread pools in IndexFetcher and CDCR components which aren't instrumented but this is a good start. We can add instrumentation if people find them interesting.
> Instrument and collect metrics from thread pools
> ------------------------------------------------
>
> Key: SOLR-9896
> URL: https://issues.apache.org/jira/browse/SOLR-9896
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: metrics
> Reporter: Shalin Shekhar Mangar
> Assignee: Shalin Shekhar Mangar
> Fix For: master (7.0), 6.4
>
> Attachments: SOLR-9896.patch
>
>
> The metrics-core library has a InstrumentedExecutorService which collects stats on submitted, running, completed tasks and durations. This issue will expose such stats for all important thread pools in solr.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org