Skip to content

Commit 54622be

Browse files
authored
Update @EnableOpenTelemetry javadoc (#11799)
1 parent 9bbfe7f commit 54622be

File tree

1 file changed

+4
-1
lines changed
  • instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure

1 file changed

+4
-1
lines changed

instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/EnableOpenTelemetry.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212
import org.springframework.context.annotation.ComponentScan;
1313
import org.springframework.context.annotation.Configuration;
1414

15-
/** Auto-configures OpenTelemetry. Enables OpenTelemetry in Spring applications */
15+
/**
16+
* Convenient annotation to leverage Spring autoconfiguration for OpenTelemetry in non-Spring Boot
17+
* projects.
18+
*/
1619
@Configuration
1720
@ComponentScan(basePackages = "io.opentelemetry.instrumentation.spring.autoconfigure")
1821
@Target(ElementType.TYPE)

0 commit comments

Comments
 (0)