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
spring boot 2.6.4, spring data r2dbc and pgsql, prometheus metrics activated,
There is no metric for connection pool.
if i debug ConnectionPoolMetricsAutoConfiguration, i see that if (connectionFactory instanceof ConnectionPool) return always false.
So no ConnectionPoolMetrics created
The text was updated successfully, but these errors were encountered:
Something's proxied the ConnectionPool so that we can no longer tell that's what it is. We may be able to unwrap it (io.r2dbc.spi.Wrapped.unwrap()) but it's impossible to tell without knowing more. Can you please share a complete, yet minimal example that reproduces the problem? You can do so by zipping it up and attaching it to this issue or pushing it to a separate repository on GitHub.
wilkinsona
changed the title
No metrics in prometheus for r2dbc connection pool
No metrics are bound for R2DBC ConnectionPools that have been wrapped
Mar 8, 2022
spring boot 2.6.4, spring data r2dbc and pgsql, prometheus metrics activated,
There is no metric for connection pool.
if i debug ConnectionPoolMetricsAutoConfiguration, i see that
if (connectionFactory instanceof ConnectionPool)
return always false.So no ConnectionPoolMetrics created
The text was updated successfully, but these errors were encountered: