{
  "description": "This instrumentation enables database client spans and database client metrics for the Apache HBase client.",
  "display_name": "HBase Client",
  "has_javaagent": true,
  "javaagent_target_versions": [
    "org.apache.hbase:hbase-client:[2.0.0, 2.5.0)"
  ],
  "library_link": "https://hbase.apache.org/",
  "name": "hbase-client-2.0",
  "scope": {
    "name": "io.opentelemetry.hbase-client-2.0"
  },
  "semantic_conventions": [
    "DATABASE_CLIENT_SPANS",
    "DATABASE_CLIENT_METRICS"
  ],
  "source_path": "instrumentation/hbase/hbase-client-2.0",
  "telemetry": [
    {
      "spans": [
        {
          "attributes": [
            {
              "name": "db.name",
              "type": "STRING"
            },
            {
              "name": "db.operation",
              "type": "STRING"
            },
            {
              "name": "db.system",
              "type": "STRING"
            },
            {
              "name": "db.user",
              "type": "STRING"
            },
            {
              "name": "server.address",
              "type": "STRING"
            },
            {
              "name": "server.port",
              "type": "LONG"
            }
          ],
          "span_kind": "CLIENT"
        }
      ],
      "when": "default"
    },
    {
      "metrics": [
        {
          "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": "server.address",
              "type": "STRING"
            },
            {
              "name": "server.port",
              "type": "LONG"
            }
          ],
          "data_type": "HISTOGRAM",
          "description": "Duration of database client operations.",
          "instrument": "histogram",
          "name": "db.client.operation.duration",
          "unit": "s"
        }
      ],
      "spans": [
        {
          "attributes": [
            {
              "name": "db.collection.name",
              "type": "STRING"
            },
            {
              "name": "db.namespace",
              "type": "STRING"
            },
            {
              "name": "db.operation.batch.size",
              "type": "LONG"
            },
            {
              "name": "db.operation.name",
              "type": "STRING"
            },
            {
              "name": "db.system.name",
              "type": "STRING"
            },
            {
              "name": "error.type",
              "type": "STRING"
            },
            {
              "name": "server.address",
              "type": "STRING"
            },
            {
              "name": "server.port",
              "type": "LONG"
            }
          ],
          "span_kind": "CLIENT"
        }
      ],
      "when": "otel.semconv-stability.opt-in=database"
    }
  ]
}