glassfish icon indicating copy to clipboard operation
glassfish copied to clipboard

HTTP Pool monitoring should be enabled by the thread-pool monitoring module, not by the http-service module

Open dmatej opened this issue 3 months ago • 3 comments

Description

Expectation: when I enable thread-pool monitoring, some data will be seen.

Relevant classes:

  • ThreadPoolStatsProvider

Reproducer

asadmin set configs.config.server-config.monitoring-service.module-monitoring-levels.thread-pool=HIGH
# Command set executed successfully.
asadmin get 'configs.config.server-config.monitoring-service.module-monitoring-levels.thread-pool'
# configs.config.server-config.monitoring-service.module-monitoring-levels.thread-pool=HIGH
curl http://localhost:8080
# welcome page printed
asadmin get -m '*'
# Command get executed successfully.

The last command should print some data.

dmatej avatar Sep 12 '25 15:09 dmatej

I’m not sure but isn’t http thread pool monitoring under the http monitoring component and not thread-pool monitoring?

OndroMih avatar Sep 12 '25 23:09 OndroMih

I would expect any thread pool in the UI listed under thread pools should be printed here.

dmatej avatar Sep 13 '25 04:09 dmatej

Sure, makes sense. I just vaguely remember that HTTP thread pools were under HTTP monitoring. If that’s true, the functionality works, it just needs to be linked to thread pool monotoring, not HTTP.

OndroMih avatar Sep 13 '25 09:09 OndroMih