{
  "configurations": [
    {
      "declarative_name": "java.common.db.query_sanitization.enabled",
      "default": true,
      "description": "Enables query sanitization for database queries.",
      "name": "otel.instrumentation.common.db.query-sanitization.enabled",
      "type": "boolean"
    }
  ],
  "description": "This instrumentation enables database client spans and database client metrics for Apache Geode cache operations.",
  "display_name": "Apache Geode",
  "has_javaagent": true,
  "javaagent_target_versions": [
    "org.apache.geode:geode-core:[1.4.0,)"
  ],
  "library_link": "https://geode.apache.org/",
  "name": "geode-1.4",
  "scope": {
    "name": "io.opentelemetry.geode-1.4"
  },
  "semantic_conventions": [
    "DATABASE_CLIENT_SPANS",
    "DATABASE_CLIENT_METRICS"
  ],
  "source_path": "instrumentation/geode-1.4",
  "telemetry": [
    {
      "spans": [
        {
          "attributes": [
            {
              "name": "db.name",
              "type": "STRING"
            },
            {
              "name": "db.operation",
              "type": "STRING"
            },
            {
              "name": "db.statement",
              "type": "STRING"
            },
            {
              "name": "db.system",
              "type": "STRING"
            }
          ],
          "span_kind": "CLIENT"
        }
      ],
      "when": "default"
    },
    {
      "metrics": [
        {
          "attributes": [
            {
              "name": "db.collection.name",
              "type": "STRING"
            },
            {
              "name": "db.operation.name",
              "type": "STRING"
            },
            {
              "name": "db.system.name",
              "type": "STRING"
            }
          ],
          "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.operation.name",
              "type": "STRING"
            },
            {
              "name": "db.query.text",
              "type": "STRING"
            },
            {
              "name": "db.system.name",
              "type": "STRING"
            }
          ],
          "span_kind": "CLIENT"
        }
      ],
      "when": "otel.semconv-stability.opt-in=database"
    }
  ]
}