Skip to content

Commit

Permalink
Update @EnableOpenTelemetry javadoc (#11799)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanbisutti authored Jul 11, 2024
1 parent 9bbfe7f commit 54622be
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
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)
Expand Down

0 comments on commit 54622be

Please sign in to comment.