{
  "configurations": [
    {
      "declarative_name": "java.couchbase.experimental_span_attributes/development",
      "default": false,
      "description": "Enables experimental span attributes emitted from the underlying Couchbase library.",
      "name": "otel.instrumentation.couchbase.experimental-span-attributes",
      "type": "boolean"
    }
  ],
  "description": "Couchbase instrumentation is owned by the Couchbase project for versions 3+. This instrumentation automatically configures the instrumentation provided by the Couchbase library.",
  "display_name": "Couchbase Client",
  "features": [
    "AUTO_INSTRUMENTATION_SHIM"
  ],
  "has_javaagent": true,
  "javaagent_target_versions": [
    "com.couchbase.client:java-client:[3.1.6,3.2.0)"
  ],
  "library_link": "https://github.com/couchbase/couchbase-java-client",
  "name": "couchbase-3.1.6",
  "scope": {
    "name": "io.opentelemetry.couchbase-3.1.6"
  },
  "semantic_conventions": [
    "DATABASE_CLIENT_SPANS"
  ],
  "source_path": "instrumentation/couchbase/couchbase-3.1.6",
  "telemetry": [
    {
      "spans": [
        {
          "attributes": [
            {
              "name": "db.couchbase.collection",
              "type": "STRING"
            },
            {
              "name": "db.couchbase.local_id",
              "type": "STRING"
            },
            {
              "name": "db.couchbase.operation_id",
              "type": "LONG"
            },
            {
              "name": "db.couchbase.retries",
              "type": "LONG"
            },
            {
              "name": "db.couchbase.scope",
              "type": "STRING"
            },
            {
              "name": "db.couchbase.server_duration",
              "type": "LONG"
            },
            {
              "name": "db.couchbase.service",
              "type": "STRING"
            },
            {
              "name": "db.name",
              "type": "STRING"
            },
            {
              "name": "db.operation",
              "type": "STRING"
            },
            {
              "name": "db.system",
              "type": "STRING"
            },
            {
              "name": "net.host.name",
              "type": "STRING"
            },
            {
              "name": "net.host.port",
              "type": "LONG"
            },
            {
              "name": "net.peer.name",
              "type": "STRING"
            },
            {
              "name": "net.peer.port",
              "type": "LONG"
            },
            {
              "name": "net.transport",
              "type": "STRING"
            }
          ],
          "span_kind": "INTERNAL"
        }
      ],
      "when": "default"
    },
    {
      "spans": [
        {
          "attributes": [
            {
              "name": "db.collection.name",
              "type": "STRING"
            },
            {
              "name": "db.namespace",
              "type": "STRING"
            },
            {
              "name": "db.operation.name",
              "type": "STRING"
            },
            {
              "name": "db.system.name",
              "type": "STRING"
            },
            {
              "name": "network.peer.address",
              "type": "STRING"
            },
            {
              "name": "network.peer.port",
              "type": "LONG"
            }
          ],
          "span_kind": "INTERNAL"
        }
      ],
      "when": "otel.semconv-stability.opt-in=database"
    },
    {
      "spans": [
        {
          "attributes": [
            {
              "name": "db.collection.name",
              "type": "STRING"
            },
            {
              "name": "db.couchbase.local_id",
              "type": "STRING"
            },
            {
              "name": "db.couchbase.operation_id",
              "type": "LONG"
            },
            {
              "name": "db.couchbase.retries",
              "type": "LONG"
            },
            {
              "name": "db.couchbase.scope",
              "type": "STRING"
            },
            {
              "name": "db.couchbase.server_duration",
              "type": "LONG"
            },
            {
              "name": "db.couchbase.service",
              "type": "STRING"
            },
            {
              "name": "db.namespace",
              "type": "STRING"
            },
            {
              "name": "db.operation.name",
              "type": "STRING"
            },
            {
              "name": "db.system.name",
              "type": "STRING"
            },
            {
              "name": "network.peer.address",
              "type": "STRING"
            },
            {
              "name": "network.peer.port",
              "type": "LONG"
            }
          ],
          "span_kind": "INTERNAL"
        }
      ],
      "when": "otel.semconv-stability.opt-in=database,otel.instrumentation.couchbase.experimental-span-attributes=true"
    }
  ]
}