{
  "configurations": [
    {
      "declarative_name": "java.camel.experimental_span_attributes/development",
      "default": false,
      "description": "Enable the capture of experimental `camel.uri`, `camel.kafka.partitionKey`, `camel.kafka.key` and `camel.kafka.offset` span attributes.",
      "name": "otel.instrumentation.camel.experimental-span-attributes",
      "type": "boolean"
    }
  ],
  "description": "This instrumentation enables tracing for Apache Camel 2.x applications by generating spans for each route execution. For Camel versions 3.5 and newer, users should instead use the native 'camel-opentelemetry' component provided directly by the Camel project.",
  "display_name": "Apache Camel",
  "features": [
    "HTTP_ROUTE"
  ],
  "has_javaagent": true,
  "javaagent_target_versions": [
    "org.apache.camel:camel-core:[2.19,3)"
  ],
  "library_link": "https://camel.apache.org/",
  "name": "camel-2.20",
  "scope": {
    "name": "io.opentelemetry.camel-2.20"
  },
  "semantic_conventions": [
    "HTTP_CLIENT_SPANS",
    "HTTP_SERVER_SPANS",
    "DATABASE_CLIENT_SPANS",
    "MESSAGING_SPANS"
  ],
  "source_path": "instrumentation/camel-2.20",
  "telemetry": [
    {
      "spans": [
        {
          "attributes": [
            {
              "name": "db.name",
              "type": "STRING"
            },
            {
              "name": "db.statement",
              "type": "STRING"
            },
            {
              "name": "db.system",
              "type": "STRING"
            },
            {
              "name": "http.request.method",
              "type": "STRING"
            },
            {
              "name": "http.response.status_code",
              "type": "LONG"
            },
            {
              "name": "url.full",
              "type": "STRING"
            }
          ],
          "span_kind": "CLIENT"
        },
        {
          "attributes": [
            {
              "name": "messaging.destination.name",
              "type": "STRING"
            },
            {
              "name": "messaging.message.id",
              "type": "STRING"
            }
          ],
          "span_kind": "CONSUMER"
        },
        {
          "attributes": [
            {
              "name": "http.request.method",
              "type": "STRING"
            },
            {
              "name": "messaging.destination.name",
              "type": "STRING"
            },
            {
              "name": "messaging.message.id",
              "type": "STRING"
            },
            {
              "name": "url.full",
              "type": "STRING"
            }
          ],
          "span_kind": "INTERNAL"
        },
        {
          "attributes": [
            {
              "name": "messaging.destination.name",
              "type": "STRING"
            }
          ],
          "span_kind": "PRODUCER"
        },
        {
          "attributes": [
            {
              "name": "http.request.method",
              "type": "STRING"
            },
            {
              "name": "http.response.status_code",
              "type": "LONG"
            },
            {
              "name": "url.full",
              "type": "STRING"
            }
          ],
          "span_kind": "SERVER"
        }
      ],
      "when": "default"
    },
    {
      "spans": [
        {
          "attributes": [
            {
              "name": "camel.uri",
              "type": "STRING"
            },
            {
              "name": "db.name",
              "type": "STRING"
            },
            {
              "name": "db.statement",
              "type": "STRING"
            },
            {
              "name": "db.system",
              "type": "STRING"
            },
            {
              "name": "http.request.method",
              "type": "STRING"
            },
            {
              "name": "http.response.status_code",
              "type": "LONG"
            },
            {
              "name": "url.full",
              "type": "STRING"
            }
          ],
          "span_kind": "CLIENT"
        },
        {
          "attributes": [
            {
              "name": "camel.uri",
              "type": "STRING"
            },
            {
              "name": "messaging.destination.name",
              "type": "STRING"
            },
            {
              "name": "messaging.message.id",
              "type": "STRING"
            }
          ],
          "span_kind": "CONSUMER"
        },
        {
          "attributes": [
            {
              "name": "camel.uri",
              "type": "STRING"
            },
            {
              "name": "http.request.method",
              "type": "STRING"
            },
            {
              "name": "messaging.destination.name",
              "type": "STRING"
            },
            {
              "name": "messaging.message.id",
              "type": "STRING"
            },
            {
              "name": "url.full",
              "type": "STRING"
            }
          ],
          "span_kind": "INTERNAL"
        },
        {
          "attributes": [
            {
              "name": "camel.uri",
              "type": "STRING"
            },
            {
              "name": "messaging.destination.name",
              "type": "STRING"
            }
          ],
          "span_kind": "PRODUCER"
        },
        {
          "attributes": [
            {
              "name": "camel.uri",
              "type": "STRING"
            },
            {
              "name": "http.request.method",
              "type": "STRING"
            },
            {
              "name": "http.response.status_code",
              "type": "LONG"
            },
            {
              "name": "url.full",
              "type": "STRING"
            }
          ],
          "span_kind": "SERVER"
        }
      ],
      "when": "otel.instrumentation.camel.experimental-span-attributes=true"
    },
    {
      "spans": [
        {
          "attributes": [
            {
              "name": "http.request.method",
              "type": "STRING"
            },
            {
              "name": "http.response.status_code",
              "type": "LONG"
            },
            {
              "name": "url.full",
              "type": "STRING"
            }
          ],
          "span_kind": "CLIENT"
        },
        {
          "attributes": [
            {
              "name": "messaging.destination.name",
              "type": "STRING"
            },
            {
              "name": "messaging.message.id",
              "type": "STRING"
            }
          ],
          "span_kind": "CONSUMER"
        },
        {
          "attributes": [
            {
              "name": "http.request.method",
              "type": "STRING"
            },
            {
              "name": "messaging.destination.name",
              "type": "STRING"
            },
            {
              "name": "messaging.message.id",
              "type": "STRING"
            },
            {
              "name": "url.full",
              "type": "STRING"
            }
          ],
          "span_kind": "INTERNAL"
        },
        {
          "attributes": [
            {
              "name": "messaging.destination.name",
              "type": "STRING"
            }
          ],
          "span_kind": "PRODUCER"
        },
        {
          "attributes": [
            {
              "name": "http.request.method",
              "type": "STRING"
            },
            {
              "name": "http.response.status_code",
              "type": "LONG"
            },
            {
              "name": "url.full",
              "type": "STRING"
            }
          ],
          "span_kind": "SERVER"
        }
      ],
      "when": "otel.semconv-stability.opt-in=database"
    }
  ]
}