This documentation has an index for AI agents at /llms.txt. A Markdown version of this page is available at https://explorer.opentelemetry.io/java-agent/instrumentation/apache-httpclient-5.2.md.

Apache HttpClient

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-5.2
  • Scope: io.opentelemetry.apache-httpclient-5.2
  • 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-5.2/apache-httpclient-5.2-7e8fa2c263b4.json
  • Explore: /java-agent/instrumentation/apache-httpclient-5.2