You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SqlConnectionPool does not invoke PoolMetrics begin/end methods (#1568)
* Add in_use metrics for sql connection pool
Should fixvert-x3/vertx-micrometer-metrics#278
* Extend queue testing with checks for usage metrics
* Fix MetricsTestBase
Begin/End metrics size depends on the timeout parameter value.
When a timeout is expected, a single begin/end metric should be listed, corresponding to the getConnection/close calls wrapping the tasks.
When a timeout isn't expected, the number of begin/end metric is the number of tasks plus one, corresponding to the getConnection/close calls.
Signed-off-by: Thomas Segismont <[email protected]>
* Minor refactoring
Signed-off-by: Thomas Segismont <[email protected]>
* More robust MetricsTestBase implementation
Since metricsEnd can be invoked asynchronously, relax the test of usage size.
Signed-off-by: Thomas Segismont <[email protected]>
---------
Signed-off-by: Thomas Segismont <[email protected]>
Co-authored-by: Thomas Segismont <[email protected]>
0 commit comments