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

Krystian Nowak commented on SLING-8786:
---------------------------------------

PR: [https://github.com/apache/sling-org-apache-sling-commons-threads/pull/1]

> Expose thread pool metrics
> --------------------------
>
>                 Key: SLING-8786
>                 URL: https://issues.apache.org/jira/browse/SLING-8786
>             Project: Sling
>          Issue Type: Improvement
>          Components: Commons
>    Affects Versions: Commons Threads 3.2.18
>            Reporter: Krystian Nowak
>            Priority: Major
>             Fix For: Commons Threads 3.2.20
>
>         Attachments: SLING-8786.diff, ThreadPoolMetricsGauges.java
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Thread pool metrics exposed via [Sling Commons 
> Metrics|https://github.com/apache/sling-org-apache-sling-commons-metrics] 
> would be helpful e.g. to identify thread pool exhaustion and being able to 
> measure e.g. 
> [ExecutorActiveCount|https://github.com/apache/sling-org-apache-sling-commons-threads/blob/master/src/main/java/org/apache/sling/commons/threads/impl/ThreadPoolMBeanImpl.java#L40-L47]
>  (most likely as a 
> [gauge|https://sling.apache.org/apidocs/sling11/org/apache/sling/commons/metrics/Gauge.html])



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

Reply via email to