From 27480159d8e130309f860205fe5f3581f85b71e4 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 d2c1528f87715..60ab80b51c658 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, since = "3.16") 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 e80dd8dfed615..53230396da71f 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, since = "3.16") public interface DataSourceJdbcTracingRuntimeConfig { /**