opentelemetry-java-instrume.../instrumentation/spring
Ben f602e193e5
Fix InstrumentedRecordInterceptor closing the trace too early (#11471)
2024-06-13 14:50:21 -07:00
..
spring-batch-3.0/javaagent Fix intellij warnings (#7734) 2023-02-06 09:21:30 +01: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 Test earliest spring boot version (#11474) 2024-06-12 07:31:31 -07:00
spring-boot-autoconfigure-3 extract @SpringBootInstrumentation annotation (#11293) 2024-05-08 10:12:39 +03:00
spring-boot-resources Semconv 1.25.0 migration (#10983) 2024-04-09 11:25:52 -07:00
spring-cloud-gateway Remove usages of sdk internal StringUtils class (#11547) 2024-06-11 14:06:59 +03:00
spring-core-2.0/javaagent Deleted redundant checks (#10434) 2024-02-07 07:30:52 -08:00
spring-data Revert "Remove db.connection_string (#11089)" (#11366) 2024-05-16 10:30:34 +03:00
spring-integration-4.1 Semconv 1.25.0 migration (#10983) 2024-04-09 11:25:52 -07:00
spring-jms move spring-jms-2.0 tests to java (#11195) 2024-04-29 21:02:12 +03:00
spring-kafka-2.7 Fix InstrumentedRecordInterceptor closing the trace too early (#11471) 2024-06-13 14:50:21 -07:00
spring-rabbit-1.0/javaagent Updating tests to support using non-localhost Docker runtimes (#11106) 2024-04-24 15:18:06 -07:00
spring-rmi-4.0/javaagent Simplify test (#11339) 2024-05-15 11:31:22 -07:00
spring-scheduling-3.1 Semconv 1.25.0 migration (#10983) 2024-04-09 11:25:52 -07:00
spring-security-config-6.0 Remove incubating semconv dependency from library instrumentation (#11324) 2024-05-15 11:44:21 -07:00
spring-web Allow library instrumentations to override span name (#11355) 2024-05-17 12:10:32 +03:00
spring-webflux Allow library instrumentations to override span name (#11355) 2024-05-17 12:10:32 +03:00
spring-webmvc Test earliest spring boot version (#11474) 2024-06-12 07:31:31 -07:00
spring-ws-2.0/javaagent move spring-ws-2.0 tests to java (#11196) 2024-04-23 08:17:23 +00:00
starters Test earliest spring boot version (#11474) 2024-06-12 07:31:31 -07: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.