|
@@ -1,10 +1,10 @@
|
|
|
# OpenTelemetry Spring Auto-Configuration
|
|
|
|
|
|
-Auto-configures OpenTelemetry instrumentation for [spring-web](../spring-web-3.1/library)
|
|
|
-, [spring-webmvc](../spring-webmvc-5.3/library), and [spring-webflux](../spring-webflux-5.0/library)
|
|
|
-. Leverages Spring Aspect Oriented Programming, dependency injection, and bean post-processing to
|
|
|
-trace spring applications. To include all features listed below use
|
|
|
-the [opentelemetry-spring-boot-starter](../starters/spring-boot-starter/README.md).
|
|
|
+Auto-configures OpenTelemetry instrumentation for [spring-web](../spring-web/spring-web-3.1/library)
|
|
|
+, [spring-webmvc](../spring-webmvc/spring-webmvc-5.3/library),
|
|
|
+and [spring-webflux](../spring-webflux-5.0/library). Leverages Spring Aspect Oriented Programming,
|
|
|
+dependency injection, and bean post-processing to trace spring applications. To include all features
|
|
|
+listed below use the [opentelemetry-spring-boot-starter](../starters/spring-boot-starter/README.md).
|
|
|
|
|
|
## Quickstart
|
|
|
|
|
@@ -154,16 +154,16 @@ Provides a OpenTelemetry tracer bean (`io.opentelemetry.api.trace.Tracer`) if on
|
|
|
|
|
|
#### Spring Web Auto Configuration
|
|
|
|
|
|
-Provides auto-configuration for the OpenTelemetry RestTemplate trace interceptor defined in [opentelemetry-spring-web-3.1](../spring-web-3.1). This auto-configuration instruments all requests sent using Spring RestTemplate beans by applying a RestTemplate bean post processor. This feature is supported for spring web versions 3.1+ and can be disabled by adding `opentelemetry.trace.httpclients.enabled=false` to your `resources/applications.properties` file. [Spring Web - RestTemplate Client Span](#spring-web---resttemplate-client-span) show cases a sample client span generated by this auto-configuration. Check out [opentelemetry-spring-web-3.1](../spring-web-3.1) to learn more about the OpenTelemetry RestTemplateInterceptor.
|
|
|
+Provides auto-configuration for the OpenTelemetry RestTemplate trace interceptor defined in [opentelemetry-spring-web-3.1](../spring-web/spring-web-3.1). This auto-configuration instruments all requests sent using Spring RestTemplate beans by applying a RestTemplate bean post processor. This feature is supported for spring web versions 3.1+ and can be disabled by adding `opentelemetry.trace.httpclients.enabled=false` to your `resources/applications.properties` file. [Spring Web - RestTemplate Client Span](#spring-web---resttemplate-client-span) show cases a sample client span generated by this auto-configuration. Check out [opentelemetry-spring-web-3.1](../spring-web/spring-web-3.1) to learn more about the OpenTelemetry RestTemplateInterceptor.
|
|
|
|
|
|
#### Spring Web MVC Auto Configuration
|
|
|
|
|
|
This feature autoconfigures instrumentation for Spring WebMVC controllers by adding
|
|
|
-a [telemetry producing servlet `Filter`](../spring-webmvc-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v5_3/WebMvcTelemetryProducingFilter.java)
|
|
|
+a [telemetry producing servlet `Filter`](../spring-webmvc/spring-webmvc-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v5_3/WebMvcTelemetryProducingFilter.java)
|
|
|
bean to the application context. This filter decorates the request execution with an OpenTelemetry
|
|
|
server span, propagating the incoming tracing context if received in the HTTP request. Check
|
|
|
-out [`opentelemetry-spring-webmvc-5.3` instrumentation library](../spring-webmvc-5.3/library) to
|
|
|
-learn more about the OpenTelemetry Spring WebMVC instrumentation.
|
|
|
+out [`opentelemetry-spring-webmvc-5.3` instrumentation library](../spring-webmvc/spring-webmvc-5.3/library)
|
|
|
+to learn more about the OpenTelemetry Spring WebMVC instrumentation.
|
|
|
|
|
|
#### Spring WebFlux Auto Configuration
|
|
|
|