Package org.jdbi.v3.opentelemetry
Class JdbiOpenTelemetryPlugin
java.lang.Object
org.jdbi.v3.core.spi.JdbiPlugin.Singleton
org.jdbi.v3.opentelemetry.JdbiOpenTelemetryPlugin
- All Implemented Interfaces:
JdbiPlugin
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jdbi.v3.core.spi.JdbiPlugin
JdbiPlugin.Singleton
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
customizeJdbi
(Jdbi jdbi) Configure customizations global to any object managed by this Jdbi.Methods inherited from class org.jdbi.v3.core.spi.JdbiPlugin.Singleton
equals, hashCode
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jdbi.v3.core.spi.JdbiPlugin
customizeConnection, customizeHandle
-
Field Details
-
SQL
-
BINDING
-
NUM_ROWS
-
-
Constructor Details
-
JdbiOpenTelemetryPlugin
public JdbiOpenTelemetryPlugin() -
JdbiOpenTelemetryPlugin
public JdbiOpenTelemetryPlugin(io.opentelemetry.api.OpenTelemetry telemetry)
-
-
Method Details
-
customizeJdbi
Description copied from interface:JdbiPlugin
Configure customizations global to any object managed by this Jdbi. This method is invoked immediately when the plugin is installed.- Parameters:
jdbi
- the jdbi to customize- Throws:
SQLException
- something went wrong with the database
-