opentelemetry-java-instrume.../instrumentation/spring
Lauri Tulmin 7a06507f80
Allow library instrumentations to override span name (#11355)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-05-17 12:10:32 +03:00
..
spring-batch-3.0/javaagent
spring-boot-actuator-autoconfigure-2.0/javaagent Disable actuator instrumentation by default (#10394) 2024-02-03 08:48:40 +00:00
spring-boot-autoconfigure Add automatic MongoDB instrumentation to the OTel starter (#11211) 2024-05-16 19:20:38 +03: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 Disable controller and view spans by default (#10042) 2024-01-04 09:16:46 -08: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 Replace messaging.kafka.destination.partition with messaging.destination.partition.id (#11086) 2024-04-11 09:16:50 +03: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 Allow library instrumentations to override span name (#11355) 2024-05-17 12:10:32 +03:00
spring-ws-2.0/javaagent move spring-ws-2.0 tests to java (#11196) 2024-04-23 08:17:23 +00:00
starters Small fixes (#11236) 2024-04-29 11:55:35 +03: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.