diff --git a/extensions/agroal/runtime/src/main/java/io/quarkus/agroal/runtime/DataSourceJdbcRuntimeConfig.java b/extensions/agroal/runtime/src/main/java/io/quarkus/agroal/runtime/DataSourceJdbcRuntimeConfig.java index d2c1528f877152..bfe0c16d6dbea7 100644 --- a/extensions/agroal/runtime/src/main/java/io/quarkus/agroal/runtime/DataSourceJdbcRuntimeConfig.java +++ b/extensions/agroal/runtime/src/main/java/io/quarkus/agroal/runtime/DataSourceJdbcRuntimeConfig.java @@ -146,7 +146,10 @@ public interface DataSourceJdbcRuntimeConfig { /** * Enable JDBC tracing. + * + * @deprecated in favor of OpenTelemetry {@link #telemetry()} */ + @Deprecated(forRemoval = true) DataSourceJdbcTracingRuntimeConfig tracing(); /** diff --git a/extensions/agroal/runtime/src/main/java/io/quarkus/agroal/runtime/DataSourceJdbcTracingRuntimeConfig.java b/extensions/agroal/runtime/src/main/java/io/quarkus/agroal/runtime/DataSourceJdbcTracingRuntimeConfig.java index e80dd8dfed6154..c3ef6a31f2edd0 100644 --- a/extensions/agroal/runtime/src/main/java/io/quarkus/agroal/runtime/DataSourceJdbcTracingRuntimeConfig.java +++ b/extensions/agroal/runtime/src/main/java/io/quarkus/agroal/runtime/DataSourceJdbcTracingRuntimeConfig.java @@ -6,7 +6,11 @@ import io.quarkus.runtime.annotations.ConfigGroup; import io.smallrye.config.WithDefault; +/** + * @deprecated in favor of OpenTelemetry {@link DataSourceJdbcRuntimeConfig#telemetry()} + */ @ConfigGroup +@Deprecated(forRemoval = true) public interface DataSourceJdbcTracingRuntimeConfig { /**