{
  "configurations": [
    {
      "declarative_name": "java.common.messaging.capture_headers/development",
      "default": "",
      "deprecated": true,
      "description": "Deprecated: use `otel.instrumentation.common.messaging.headers.included` instead. Ignored without a warning under v3-preview; may be removed in a later minor release and will be removed no later than 3.0. A comma-separated list of header names to capture as span attributes. It does not support glob patterns: an entry containing `*` or `?` is ignored with a warning, and every other entry is matched as a literal header name.",
      "name": "otel.instrumentation.messaging.experimental.capture-headers",
      "replaced_by": "otel.instrumentation.common.messaging.headers.included",
      "type": "list"
    },
    {
      "default": "",
      "deprecated": true,
      "description": "Deprecated: use `otel.instrumentation.common.messaging.headers.excluded` instead. Ignored without a warning under v3-preview; may be removed in a later minor release and will be removed no later than 3.0.",
      "name": "otel.instrumentation.messaging.experimental.headers.excluded",
      "replaced_by": "otel.instrumentation.common.messaging.headers.excluded",
      "type": "list"
    },
    {
      "default": "",
      "deprecated": true,
      "description": "Deprecated: use `otel.instrumentation.common.messaging.headers.included` instead. Ignored without a warning under v3-preview; may be removed in a later minor release and will be removed no later than 3.0.",
      "name": "otel.instrumentation.messaging.experimental.headers.included",
      "replaced_by": "otel.instrumentation.common.messaging.headers.included",
      "type": "list"
    },
    {
      "default": false,
      "deprecated": true,
      "description": "Deprecated: use `otel.instrumentation.common.messaging.experimental.receive-telemetry.enabled` instead. It may be removed in the next minor release.",
      "name": "otel.instrumentation.messaging.experimental.receive-telemetry.enabled",
      "replaced_by": "otel.instrumentation.common.messaging.experimental.receive-telemetry.enabled",
      "type": "boolean"
    },
    {
      "declarative_name": "java.common.messaging.headers.excluded",
      "default": "",
      "description": "A comma-separated list of case-sensitive message header name glob patterns to exclude from span attributes. `?` matches one character and `*` matches zero or more characters. Excluded patterns take precedence over included patterns. An absent or empty selector captures no headers; an exclude-only selector captures every header not excluded, which may expose sensitive information.",
      "name": "otel.instrumentation.common.messaging.headers.excluded",
      "type": "list"
    },
    {
      "declarative_name": "java.common.messaging.headers.included",
      "default": "",
      "description": "A comma-separated list of case-sensitive message header name glob patterns to capture as span attributes. `?` matches one character and `*` matches zero or more characters. Excluded patterns take precedence over included patterns. An absent or empty selector captures no headers; an exclude-only selector captures every header not excluded.",
      "name": "otel.instrumentation.common.messaging.headers.included",
      "type": "list"
    },
    {
      "declarative_name": "java.common.messaging.receive_telemetry/development.enabled",
      "default": false,
      "description": "Enables experimental receive telemetry, which will cause consumers to start a new trace, with only a span link connecting it to the producer trace.",
      "name": "otel.instrumentation.common.messaging.experimental.receive-telemetry.enabled",
      "type": "boolean"
    },
    {
      "declarative_name": "java.kafka.experimental_span_attributes/development",
      "default": false,
      "description": "Enables the capture of the experimental consumer attributes `kafka.record.queue_time_ms` and `messaging.kafka.bootstrap.servers`.",
      "name": "otel.instrumentation.kafka.experimental-span-attributes",
      "type": "boolean"
    },
    {
      "declarative_name": "java.kafka.producer_propagation.enabled",
      "default": true,
      "description": "Enable context propagation for Kafka message producers.",
      "name": "otel.instrumentation.kafka.producer-propagation.enabled",
      "type": "boolean"
    }
  ],
  "description": "This instrumentation enables messaging spans for Kafka consumers using the Vert.x Kafka Client library.",
  "disabled_by_default": true,
  "display_name": "Vert.x Kafka Client",
  "has_javaagent": true,
  "javaagent_target_versions": [
    "io.vertx:vertx-kafka-client:[3.5.1,)"
  ],
  "library_link": "https://vertx.io/docs/vertx-kafka-client/java/",
  "name": "vertx-kafka-client-3.6",
  "scope": {
    "name": "io.opentelemetry.vertx-kafka-client-3.6",
    "schema_url": "https://opentelemetry.io/schemas/1.43.0"
  },
  "semantic_conventions": [
    "MESSAGING_SPANS"
  ],
  "source_path": "instrumentation/vertx/vertx-kafka-client-3.6",
  "telemetry": [
    {
      "spans": [
        {
          "attributes": [
            {
              "name": "messaging.batch.message_count",
              "type": "LONG"
            },
            {
              "name": "messaging.client_id",
              "type": "STRING"
            },
            {
              "name": "messaging.destination.name",
              "type": "STRING"
            },
            {
              "name": "messaging.destination.partition.id",
              "type": "STRING"
            },
            {
              "name": "messaging.kafka.cluster.id",
              "type": "STRING"
            },
            {
              "name": "messaging.kafka.message.key",
              "type": "STRING"
            },
            {
              "name": "messaging.kafka.message.offset",
              "type": "LONG"
            },
            {
              "name": "messaging.message.body.size",
              "type": "LONG"
            },
            {
              "name": "messaging.operation",
              "type": "STRING"
            },
            {
              "name": "messaging.system",
              "type": "STRING"
            }
          ],
          "span_kind": "CONSUMER"
        }
      ],
      "when": "otel.instrumentation.common.messaging.experimental.receive-telemetry.enabled=true"
    },
    {
      "spans": [
        {
          "attributes": [
            {
              "name": "kafka.record.queue_time_ms",
              "type": "LONG"
            },
            {
              "name": "messaging.batch.message_count",
              "type": "LONG"
            },
            {
              "name": "messaging.client_id",
              "type": "STRING"
            },
            {
              "name": "messaging.destination.name",
              "type": "STRING"
            },
            {
              "name": "messaging.destination.partition.id",
              "type": "STRING"
            },
            {
              "name": "messaging.kafka.cluster.id",
              "type": "STRING"
            },
            {
              "name": "messaging.kafka.message.key",
              "type": "STRING"
            },
            {
              "name": "messaging.kafka.message.offset",
              "type": "LONG"
            },
            {
              "name": "messaging.message.body.size",
              "type": "LONG"
            },
            {
              "name": "messaging.operation",
              "type": "STRING"
            },
            {
              "name": "messaging.system",
              "type": "STRING"
            }
          ],
          "span_kind": "CONSUMER"
        }
      ],
      "when": "otel.instrumentation.common.messaging.experimental.receive-telemetry.enabled=true,otel.instrumentation.kafka.experimental-span-attributes=true"
    },
    {
      "metrics": [
        {
          "attributes": [
            {
              "name": "messaging.destination.name",
              "type": "STRING"
            },
            {
              "name": "messaging.destination.partition.id",
              "type": "STRING"
            },
            {
              "name": "messaging.operation.name",
              "type": "STRING"
            },
            {
              "name": "messaging.system",
              "type": "STRING"
            }
          ],
          "data_type": "HISTOGRAM",
          "description": "Duration of processing operation.",
          "instrument": "histogram",
          "name": "messaging.process.duration",
          "unit": "s"
        }
      ],
      "spans": [
        {
          "attributes": [
            {
              "name": "error.type",
              "type": "STRING"
            },
            {
              "name": "messaging.batch.message_count",
              "type": "LONG"
            },
            {
              "name": "messaging.client.id",
              "type": "STRING"
            },
            {
              "name": "messaging.destination.name",
              "type": "STRING"
            },
            {
              "name": "messaging.destination.partition.id",
              "type": "STRING"
            },
            {
              "name": "messaging.kafka.cluster.id",
              "type": "STRING"
            },
            {
              "name": "messaging.kafka.message.key",
              "type": "STRING"
            },
            {
              "name": "messaging.kafka.offset",
              "type": "LONG"
            },
            {
              "name": "messaging.operation.name",
              "type": "STRING"
            },
            {
              "name": "messaging.operation.type",
              "type": "STRING"
            },
            {
              "name": "messaging.system",
              "type": "STRING"
            }
          ],
          "span_kind": "CONSUMER"
        }
      ],
      "when": "otel.semconv-stability.preview=messaging"
    }
  ]
}