This documentation has an index for AI agents at /llms.txt. A Markdown version of this page is available at https://explorer.opentelemetry.io/java-agent/instrumentation/spring-integration-4.1.md.

Spring Integration

OpenTelemetry Java agent instrumentation

This instrumentation enables producer and consumer messaging spans for Spring Integration.

  • Name: spring-integration-4.1
  • Scope: io.opentelemetry.spring-integration-4.1
  • Target versions: org.springframework.integration:spring-integration-core:[4.1.0.RELEASE,)
  • Library: https://spring.io/projects/spring-integration

Telemetry

  • Span attributes: messaging.operation

Configuration

OptionTypeDefaultDescription
otel.instrumentation.messaging.experimental.capture-headerslistA comma-separated list of header names to capture as span attributes.
otel.instrumentation.spring-integration.global-channel-interceptor-patternslist*A list of Spring channel name patterns that will be intercepted.
otel.instrumentation.spring-integration.producer.enabledbooleanfalseCreate 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.

Data

  • JSON: /data/javaagent/instrumentations/spring-integration-4.1/spring-integration-4.1-cd23bca3627e.json
  • Explore: /java-agent/instrumentation/spring-integration-4.1