# Apache HttpClient

<!-- llms-txt-link: /llms.txt -->

> OpenTelemetry Java agent instrumentation

This instrumentation provides a library integration that enables HTTP client spans and HTTP client metrics for the Apache HttpClient.

- **Name**: `apache-httpclient-4.3`
- **Scope**: `io.opentelemetry.apache-httpclient-4.3`
- **Library**: https://hc.apache.org/index.html

## Telemetry

- **Metrics**: `http.client.request.duration`
- **Span attributes**: `error.type`, `http.request.method`, `http.request.method_original`, `http.request.resend_count`, `http.response.status_code`, `network.protocol.version`, `server.address`, `server.port`, `url.full`

## Data

- **JSON**: [/data/javaagent/instrumentations/apache-httpclient-4.3/apache-httpclient-4.3-8bfc6c04e7c0.json](/data/javaagent/instrumentations/apache-httpclient-4.3/apache-httpclient-4.3-8bfc6c04e7c0.json)
- **Explore**: [/java-agent/instrumentation/apache-httpclient-4.3](/java-agent/instrumentation/apache-httpclient-4.3)
