Connectionpool Metrics do not repopulate when restarting an application for all MP Metric features (that support monitor metrics) #30383
Labels
in:MicroProfile/Metrics
release bug
This bug is present in a released version of Open Liberty
team:Lumberjack
Milestone
Describe the bug
Connection pool Metrics do not repopulate when restarting an application for all MP Metric features (that support monitor metrics).
The metrics are removed when the application stops.
Steps to Reproduce
Expected behavior
The connection pool metrics are created based on the connection pool MBean managed by the
monitor-1.0
feature. According to the API, these MBeans are created for each data source that is configured (per server/jvm). Therefore, when an application is unloaded, the datasource is still present (i.e., configured via<datasource>
in the server.xml + enablement with the jdbc feature). The expected behavior is to maintain the connection pool metric until the removal of the datasource (and not through the unloading of an application).Diagnostic information:
$WLP_OUTPUT_DIR/messages.log
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: