From 5672942938b63e3e493bde3538bf4d30145dfac6 Mon Sep 17 00:00:00 2001 From: Daniel Cunha Date: Fri, 20 Sep 2024 12:27:47 -0300 Subject: [PATCH] Deprecate quarkus.datasource.jdbc.tracing --- .../quarkus/agroal/runtime/DataSourceJdbcRuntimeConfig.java | 3 +++ .../agroal/runtime/DataSourceJdbcTracingRuntimeConfig.java | 4 ++++ 2 files changed, 7 insertions(+) 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 { /**