{
  "configurations": [
    {
      "declarative_name": "java.common.messaging.capture_headers/development",
      "default": "",
      "description": "A comma-separated list of header names to capture as span attributes.",
      "name": "otel.instrumentation.messaging.experimental.capture-headers",
      "type": "list"
    },
    {
      "declarative_name": "java.spring_integration.global_channel_interceptor_patterns",
      "default": "*",
      "description": "A list of Spring channel name patterns that will be intercepted.",
      "name": "otel.instrumentation.spring-integration.global-channel-interceptor-patterns",
      "type": "list"
    },
    {
      "declarative_name": "java.spring_integration.producer.enabled",
      "default": false,
      "description": "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`.",
      "name": "otel.instrumentation.spring-integration.producer.enabled",
      "type": "boolean"
    }
  ],
  "description": "This instrumentation enables producer and consumer messaging spans for Spring Integration.",
  "display_name": "Spring Integration",
  "has_javaagent": true,
  "has_standalone_library": true,
  "javaagent_target_versions": [
    "org.springframework.integration:spring-integration-core:[4.1.0.RELEASE,)"
  ],
  "library_link": "https://spring.io/projects/spring-integration",
  "markdown_hash": "1e7a5f390454",
  "name": "spring-integration-4.1",
  "scope": {
    "name": "io.opentelemetry.spring-integration-4.1"
  },
  "source_path": "instrumentation/spring/spring-integration-4.1",
  "telemetry": [
    {
      "spans": [
        {
          "attributes": [
            {
              "name": "messaging.operation",
              "type": "STRING"
            }
          ],
          "span_kind": "CONSUMER"
        }
      ],
      "when": "default"
    },
    {
      "spans": [
        {
          "attributes": [
            {
              "name": "messaging.operation",
              "type": "STRING"
            }
          ],
          "span_kind": "CONSUMER"
        },
        {
          "attributes": [
            {
              "name": "messaging.operation",
              "type": "STRING"
            }
          ],
          "span_kind": "PRODUCER"
        }
      ],
      "when": "otel.instrumentation.spring-integration.producer.enabled=true"
    }
  ]
}