lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <>
Subject [jira] [Updated] (SOLR-9896) Instrument and collect metrics from thread pools
Date Mon, 02 Jan 2017 19:36:58 GMT


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:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message