Package io.quarkus.agroal.runtime
Interface DataSourceJdbcTelemetryConfig
public interface DataSourceJdbcTelemetryConfig
-
Method Summary
Modifier and TypeMethodDescriptionenabled()Enable OpenTelemetry JDBC instrumentation.booleanEnable tracing of the connection acquisition from the datasource.
-
Method Details
-
enabled
@ConfigDocDefault("false if quarkus.datasource.jdbc.telemetry=false and true if quarkus.datasource.jdbc.telemetry=true") Optional<Boolean> enabled()Enable OpenTelemetry JDBC instrumentation. -
traceConnection
@WithDefault("false") boolean traceConnection()Enable tracing of the connection acquisition from the datasource. When enabled, a span is created for eachgetConnection()call.
-