From db3a78924947dbb831df6e00332613d590150c62 Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Thu, 11 Jul 2024 20:02:59 +0200 Subject: [PATCH] rename spring autoconfigure to autoconfigure-2 --- .../annotations/OpenTelemetryAnnotationsRuntimeHints.java | 2 +- .../src/main/resources/META-INF/spring/aot.factories | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/instrumentation/spring/spring-boot-autoconfigure-3/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/v3/instrumentation/annotations/OpenTelemetryAnnotationsRuntimeHints.java b/instrumentation/spring/spring-boot-autoconfigure-3/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/v3/instrumentation/annotations/OpenTelemetryAnnotationsRuntimeHints.java index 63898eea090c..c15e9164e4fe 100644 --- a/instrumentation/spring/spring-boot-autoconfigure-3/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/v3/instrumentation/annotations/OpenTelemetryAnnotationsRuntimeHints.java +++ b/instrumentation/spring/spring-boot-autoconfigure-3/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/v3/instrumentation/annotations/OpenTelemetryAnnotationsRuntimeHints.java @@ -18,7 +18,7 @@ public void registerHints(RuntimeHints hints, ClassLoader classLoader) { .reflection() .registerType( TypeReference.of( - "io.opentelemetry.instrumentation.spring.autoconfigure.instrumentation.annotations.InstrumentationWithSpanAspect"), + "io.opentelemetry.instrumentation.spring.autoconfigure.v2.instrumentation.annotations.InstrumentationWithSpanAspect"), hint -> hint.withMembers(MemberCategory.INVOKE_PUBLIC_METHODS)); } } diff --git a/instrumentation/spring/spring-boot-autoconfigure-3/src/main/resources/META-INF/spring/aot.factories b/instrumentation/spring/spring-boot-autoconfigure-3/src/main/resources/META-INF/spring/aot.factories index a1905a126f02..90905a80100e 100644 --- a/instrumentation/spring/spring-boot-autoconfigure-3/src/main/resources/META-INF/spring/aot.factories +++ b/instrumentation/spring/spring-boot-autoconfigure-3/src/main/resources/META-INF/spring/aot.factories @@ -1,2 +1,2 @@ org.springframework.aot.hint.RuntimeHintsRegistrar=\ -io.opentelemetry.instrumentation.spring.autoconfigure.instrumentation.annotations.OpenTelemetryAnnotationsRuntimeHints +io.opentelemetry.instrumentation.spring.autoconfigure.v3.instrumentation.annotations.OpenTelemetryAnnotationsRuntimeHints