opentelemetry-java-instrume.../instrumentation/spring
renovate[bot] c22bb598e5
fix(deps): update spotless packages to v7 (major) (#13004)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2025-01-08 07:37:47 -08:00
..
spring-batch-3.0/javaagent Document (and remove some) upper version test limits (#12945) 2024-12-27 08:54:10 -08:00
spring-boot-actuator-autoconfigure-2.0/javaagent Fix spring-boot-actuator-autoconfigure-2.0 latest dep test (#11446) 2024-05-23 12:48:33 -07:00
spring-boot-autoconfigure End span after closing scope (#12952) 2024-12-27 09:22:26 -08:00
spring-boot-resources Statically import semconv constants in tests (#12575) 2024-11-06 08:17:57 -08:00
spring-cloud-aws-3.0/javaagent Document (and remove some) upper version test limits (#12945) 2024-12-27 08:54:10 -08:00
spring-cloud-gateway Validate javaagent suppression keys (#12955) 2024-12-30 11:22:02 +00:00
spring-core-2.0/javaagent Clear context propagation virtual field (#12397) 2024-10-08 17:58:02 +03:00
spring-data fix(deps): update spotless packages to v7 (major) (#13004) 2025-01-08 07:37:47 -08:00
spring-integration-4.1 Document (and remove some) upper version test limits (#12945) 2024-12-27 08:54:10 -08:00
spring-jms Document (and remove some) upper version test limits (#12945) 2024-12-27 08:54:10 -08:00
spring-kafka-2.7 Change `setCaptured*Headers(List)` to `setCaptured*Headers(Collection)` (#12901) 2024-12-23 15:49:55 -08:00
spring-rabbit-1.0/javaagent Statically import semconv constants in tests (#12575) 2024-11-06 08:17:57 -08:00
spring-rmi-4.0/javaagent Static import RPC semconv constants in tests (#12578) 2024-11-07 08:45:01 +02:00
spring-scheduling-3.1 End span after closing scope (#12952) 2024-12-27 09:22:26 -08:00
spring-security-config-6.0 Validate javaagent suppression keys (#12955) 2024-12-30 11:22:02 +00:00
spring-web End span after closing scope (#12952) 2024-12-27 09:22:26 -08:00
spring-webflux Validate javaagent suppression keys (#12955) 2024-12-30 11:22:02 +00:00
spring-webmvc Document (and remove some) upper version test limits (#12945) 2024-12-27 08:54:10 -08:00
spring-ws-2.0/javaagent Document (and remove some) upper version test limits (#12945) 2024-12-27 08:54:10 -08:00
starters Switch link checker to lychee (#12922) 2024-12-19 07:24:07 -08:00
README.md Document spring-batch and spring-scheduling flags (#10155) 2024-01-03 10:49:28 -08:00

README.md

OpenTelemetry Instrumentation: Spring and Spring Boot

This package streamlines the manual instrumentation process of OpenTelemetry for Spring and Spring Boot applications. It will enable you to add traces to requests and database calls with minimal changes to application code. This package will not fully automate your OpenTelemetry instrumentation, instead, it will provide you with better tools to instrument your own code.

Settings

System property Type Default Description
otel.instrumentation.spring-batch.item.enabled Boolean false Enable creating a span for each batch item.
otel.instrumentation.spring-batch.experimental.chunk.new-trace Boolean false Enable staring a new trace for each batch chunk.
otel.instrumentation.spring-batch.experimental-span-attributes Boolean false Enable the capture of experimental span attributes for Spring Batch version 3.0.
otel.instrumentation.spring-integration.global-channel-interceptor-patterns List * An array of Spring channel name patterns that will be intercepted. See Spring Integration docs for more details.
otel.instrumentation.spring-integration.producer.enabled Boolean false Create producer spans when messages are sent to an output channel. Enable when you're using a messaging library that doesn't have its own instrumentation for generating producer spans. Note that the detection of output channels only works for Spring Cloud Stream DirectWithAttributesChannel.
otel.instrumentation.spring-scheduling.experimental-span-attributes Boolean false Enable the capture of experimental span attributes for Spring Scheduling version 3.1.
otel.instrumentation.spring-webflux.experimental-span-attributes Boolean false Enable the capture of experimental span attributes for Spring WebFlux version 5.0.
otel.instrumentation.spring-webmvc.experimental-span-attributes Boolean false Enable the capture of experimental span attributes for Spring Web MVC version 3.1.