{
  "configurations": [
    {
      "declarative_name": "java.common.controller_telemetry/development.enabled",
      "default": false,
      "description": "Enables the creation of experimental controller spans.",
      "name": "otel.instrumentation.common.experimental.controller-telemetry.enabled",
      "type": "boolean"
    }
  ],
  "description": "This instrumentation enriches HTTP server spans with route information, and enables controller spans for Apache Struts 2 actions (controller spans are disabled by default).",
  "display_name": "Apache Struts",
  "features": [
    "HTTP_ROUTE",
    "CONTROLLER_SPANS"
  ],
  "has_javaagent": true,
  "javaagent_target_versions": [
    "org.apache.struts:struts2-core:[2.1.0,7)"
  ],
  "library_link": "https://struts.apache.org/",
  "name": "struts-2.3",
  "scope": {
    "name": "io.opentelemetry.struts-2.3"
  },
  "source_path": "instrumentation/struts/struts-2.3",
  "telemetry": [
    {
      "spans": [
        {
          "attributes": [
            {
              "name": "code.function",
              "type": "STRING"
            },
            {
              "name": "code.namespace",
              "type": "STRING"
            }
          ],
          "span_kind": "INTERNAL"
        }
      ],
      "when": "otel.instrumentation.common.experimental.controller-telemetry.enabled=true"
    }
  ]
}