sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Munteanu (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (SLING-8786) Expose thread pool metrics
Date Thu, 24 Oct 2019 12:37:00 GMT

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

Robert Munteanu resolved SLING-8786.
------------------------------------
    Resolution: Fixed

PR merged, thanks [~krystian]

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

Mime
View raw message