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
{{ message }}
This repository was archived by the owner on Mar 6, 2020. It is now read-only.
I was trying to set up the auto-configured metrics for r2dbc and noticed that ConnectionPoolMetricsAutoConfiguration was not being touched in Spring initialization. Turns out that the annotation @ConditionalOnBean({ ConnectionPool.class, MeterRegistry.class }) does not wait for a ConnectionPool to be available and thus this configuration never runs. I have gone around this by providing a ConnectionPool bean in a configuration class and marking it with @AutoConfigureBefore(ConnectionPoolMetricsAutoConfiguration::class).