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
We had been using kamon and iam-jdbc for postgresql without problems, but as iam-jdbc uses AWS-SDK v.1, we would like to migrate to the AWS advanced JDBC wrapper. Initializing the HikariPool fails with the following exception:
java.lang.ClassCastException: class software.amazon.jdbc.wrapper.ConnectionWrapper cannot be cast to class kamon.instrumentation.jdbc.HasConnectionPoolTelemetry (software.amazon.jdbc.wrapper.ConnectionWrapper and kamon.instrumentation.jdbc.HasConnectionPoolTelemetry are in unnamed module of loader 'app')
at kamon.instrumentation.jdbc.PoolBaseNewConnectionAdvice$.enter(HikariInstrumentation.scala:221)
at com.zaxxer.hikari.pool.PoolBase.setupConnection(PoolBase.java:406)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:374)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:198)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:467)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:541)
at com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:115)
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
The only enabled AWS wrapper plugin is "iam".
Versions:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We had been using
kamon
andiam-jdbc
forpostgresql
without problems, but asiam-jdbc
uses AWS-SDK v.1, we would like to migrate to the AWS advanced JDBC wrapper. Initializing theHikariPool
fails with the following exception:The only enabled AWS wrapper plugin is "iam".
Versions:
Does anybody know how to make Kamon work with the Advanced AWS JDBC wrapper?
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions