APAR status
Closed as program error.
Error description
When using Prometheus in WebSphere Application ServerWAS version 9.0.5.10 on Linux, the threadPoolModule.percentUsed under Thread pool metrics cannot be exposed under the Prometheus metrics endpoint.
Local fix
threadPool.percentUsed = (number of concurrently active threads / maxPoolSize) * 100 Using the metrics.ear, user can use was_threadpool_active_threads for the number of concurrently active threads. To find the corresponding max pool size for each of the resources, you can go to Servers > All servers > [server name] > Additional Properties > Thread Pools in the Admin Console, and do a calculation based on that value to get the corresponding threadPool.percentUsed using Prometheus queries.
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server who use the * * provided metrics.ear application for * * outputting Prometheus * * formatted metrics. * **************************************************************** * PROBLEM DESCRIPTION: The thread pool module's "PercentUsed" * * statistic from the PMI is not exposed * * as * * a Prometheus metric. * **************************************************************** * RECOMMENDATION: * **************************************************************** The thread pool module's "PercentUsed" statistic from the Performance Monitoring Infrastructure (PMI) is not exposed as a Prometheus metric through the metrics.ear. The max pool size is also not exposed which prevents users from calculating the percent used using the Prometheus Query Language (PromQL).
Problem conclusion
The max pool size for the respective thread pool is exposed as a Performance Monitoring Infrastructure statistic. This will then be exposed as a Prometheus formatted metric when using the metrics.ear. This will allow for calculation of the thread pool usage. The fix for this APAR is targeted for inclusion in fix pack 9.0.5.21. For more information, see 'Recommended Updates for WebSphere Application Server': https://www.ibm.com/support/pages/node/715553
Temporary fix
You can find the corresponding max pool size for each of the thread pools, by going to `Servers` > `All servers` > [server name] > `Additional Properties` > `Thread Pools` in the Admin Console (from there, a calculation can be done based on that value to get the corresponding thread pool usage.
Comments
APAR Information
APAR number
PH48587
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
900
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2022-08-10
Closed date
2024-05-15
Last modified date
2024-05-15
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBS APP SERV N
Fixed component ID
5724H8800
Applicable component levels
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]
Document Information
Modified date:
15 May 2024