{
  "description": "This instrumentation provides a library integration that enables HTTP client spans and HTTP client metrics for the Apache HttpClient.",
  "display_name": "Apache HttpClient",
  "has_standalone_library": true,
  "library_link": "https://hc.apache.org/index.html",
  "markdown_hash": "a3bae406cfcf",
  "name": "apache-httpclient-4.3",
  "scope": {
    "name": "io.opentelemetry.apache-httpclient-4.3",
    "schema_url": "https://opentelemetry.io/schemas/1.41.0"
  },
  "semantic_conventions": [
    "HTTP_CLIENT_SPANS",
    "HTTP_CLIENT_METRICS"
  ],
  "source_path": "instrumentation/apache-httpclient/apache-httpclient-4.3",
  "telemetry": [
    {
      "metrics": [
        {
          "attributes": [
            {
              "name": "http.request.method",
              "type": "STRING"
            },
            {
              "name": "http.response.status_code",
              "type": "LONG"
            },
            {
              "name": "network.protocol.version",
              "type": "STRING"
            },
            {
              "name": "server.address",
              "type": "STRING"
            },
            {
              "name": "server.port",
              "type": "LONG"
            }
          ],
          "data_type": "HISTOGRAM",
          "description": "Duration of HTTP client requests.",
          "instrument": "histogram",
          "name": "http.client.request.duration",
          "unit": "s"
        }
      ],
      "spans": [
        {
          "attributes": [
            {
              "name": "error.type",
              "type": "STRING"
            },
            {
              "name": "http.request.method",
              "type": "STRING"
            },
            {
              "name": "http.request.method_original",
              "type": "STRING"
            },
            {
              "name": "http.request.resend_count",
              "type": "LONG"
            },
            {
              "name": "http.response.status_code",
              "type": "LONG"
            },
            {
              "name": "network.protocol.version",
              "type": "STRING"
            },
            {
              "name": "server.address",
              "type": "STRING"
            },
            {
              "name": "server.port",
              "type": "LONG"
            },
            {
              "name": "url.full",
              "type": "STRING"
            }
          ],
          "span_kind": "CLIENT"
        }
      ],
      "when": "default"
    }
  ]
}