From e8b32a4f680df771db1644b21a30a1a612676a07 Mon Sep 17 00:00:00 2001 From: Jean Bisutti Date: Thu, 11 Jul 2024 18:37:04 +0200 Subject: [PATCH 1/3] Update @EnableOpenTelemetry javadoc --- .../spring/autoconfigure/EnableOpenTelemetry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/EnableOpenTelemetry.java b/instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/EnableOpenTelemetry.java index 8a5b2b95c9fa..349971432cf8 100644 --- a/instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/EnableOpenTelemetry.java +++ b/instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/EnableOpenTelemetry.java @@ -12,7 +12,7 @@ import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; -/** Auto-configures OpenTelemetry. Enables OpenTelemetry in Spring applications */ +/** convenient annotation to leverage Spring autoconfiguration for OpenTelemetry in non-Spring Boot projects. */ @Configuration @ComponentScan(basePackages = "io.opentelemetry.instrumentation.spring.autoconfigure") @Target(ElementType.TYPE) From e3daa597ebe48b15a184da725e1f0f891227942f Mon Sep 17 00:00:00 2001 From: Jean Bisutti Date: Thu, 11 Jul 2024 18:38:23 +0200 Subject: [PATCH 2/3] Update EnableOpenTelemetry.java --- .../spring/autoconfigure/EnableOpenTelemetry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/EnableOpenTelemetry.java b/instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/EnableOpenTelemetry.java index 349971432cf8..28057bd1bc79 100644 --- a/instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/EnableOpenTelemetry.java +++ b/instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/EnableOpenTelemetry.java @@ -12,7 +12,7 @@ import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; -/** convenient annotation to leverage Spring autoconfiguration for OpenTelemetry in non-Spring Boot projects. */ +/** Convenient annotation to leverage Spring autoconfiguration for OpenTelemetry in non-Spring Boot projects. */ @Configuration @ComponentScan(basePackages = "io.opentelemetry.instrumentation.spring.autoconfigure") @Target(ElementType.TYPE) From c0a3586185a429e6459e886fb2166d622eecc050 Mon Sep 17 00:00:00 2001 From: Jean Bisutti Date: Thu, 11 Jul 2024 18:50:18 +0200 Subject: [PATCH 3/3] spotless --- .../spring/autoconfigure/EnableOpenTelemetry.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/EnableOpenTelemetry.java b/instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/EnableOpenTelemetry.java index 28057bd1bc79..e299776c2f69 100644 --- a/instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/EnableOpenTelemetry.java +++ b/instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/EnableOpenTelemetry.java @@ -12,7 +12,10 @@ import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; -/** Convenient annotation to leverage Spring autoconfiguration for OpenTelemetry in non-Spring Boot projects. */ +/** + * Convenient annotation to leverage Spring autoconfiguration for OpenTelemetry in non-Spring Boot + * projects. + */ @Configuration @ComponentScan(basePackages = "io.opentelemetry.instrumentation.spring.autoconfigure") @Target(ElementType.TYPE)