Update @EnableOpenTelemetry javadoc (#11799)
This commit is contained in:
parent
9bbfe7fe4e
commit
54622bed61
|
@ -12,7 +12,10 @@ import java.lang.annotation.Target;
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue