opentelemetry-java-instrume.../instrumentation/spring
Gregor Zeitlinger 1cd768e294
spring boot starter: add service.version detection, improve service.name detection (#10457)
2024-02-21 12:46:58 -08: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 spring boot starter: add service.version detection, improve service.name detection (#10457) 2024-02-21 12:46:58 -08:00
spring-boot-resources spring boot starter: add service.version detection, improve service.name detection (#10457) 2024-02-21 12:46:58 -08: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 Deleted redundant checks (#10434) 2024-02-07 07:30:52 -08:00
spring-integration-4.1 Update semconv (#10272) 2024-01-30 17:10:35 +00:00
spring-jms Always set messaging operation (#9791) 2023-11-06 12:30:27 +02:00
spring-kafka-2.7 Update semconv (#10272) 2024-01-30 17:10:35 +00:00
spring-rabbit-1.0/javaagent Deleted redundant checks (#10434) 2024-02-07 07:30:52 -08:00
spring-rmi-4.0/javaagent Rename the `instrumentation-api-semconv` module into `instrumentation-api-incubator` (#9985) 2023-12-04 08:28:10 +01:00
spring-scheduling-3.1 Use constants from SemanticAttributes (#10302) 2024-01-23 08:05:42 -08:00
spring-security-config-6.0 Fix latest dep tests (#9892) 2023-11-16 10:12:24 -08:00
spring-web Remove http stable semconv tests (#10087) 2023-12-21 08:30:26 -08:00
spring-webflux Use direct peer address in `client.address` when X-Forwarded-For is not present (#10370) 2024-02-05 19:09:28 -08:00
spring-webmvc Wrap request to avoid modifying attributes of the original request (#10389) 2024-02-06 08:44:02 +02:00
spring-ws-2.0/javaagent Honor default enabled for instrumentation modules (#10211) 2024-01-11 07:49:51 -08:00
starters spring boot starter: add service.version detection, improve service.name detection (#10457) 2024-02-21 12:46:58 -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.