Class ApacheHttpClientTracing
- java.lang.Object
-
- io.opentelemetry.instrumentation.apachehttpclient.v4_3.ApacheHttpClientTracing
-
public final class ApacheHttpClientTracing extends Object
Entrypoint for tracing Apache HTTP Client.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApacheHttpClientTracingBuilderbuilder(io.opentelemetry.api.OpenTelemetry openTelemetry)Returns a newApacheHttpClientTracingBuilderconfigured with the givenOpenTelemetry.static ApacheHttpClientTracingcreate(io.opentelemetry.api.OpenTelemetry openTelemetry)Returns a newApacheHttpClientTracingconfigured with the givenOpenTelemetry.org.apache.http.impl.client.CloseableHttpClientnewHttpClient()Returns a newCloseableHttpClientwith tracing configured.org.apache.http.impl.client.HttpClientBuildernewHttpClientBuilder()Returns a newHttpClientBuilderto create a client with tracing configured.
-
-
-
Method Detail
-
create
public static ApacheHttpClientTracing create(io.opentelemetry.api.OpenTelemetry openTelemetry)
Returns a newApacheHttpClientTracingconfigured with the givenOpenTelemetry.
-
builder
public static ApacheHttpClientTracingBuilder builder(io.opentelemetry.api.OpenTelemetry openTelemetry)
Returns a newApacheHttpClientTracingBuilderconfigured with the givenOpenTelemetry.
-
newHttpClient
public org.apache.http.impl.client.CloseableHttpClient newHttpClient()
Returns a newCloseableHttpClientwith tracing configured.
-
newHttpClientBuilder
public org.apache.http.impl.client.HttpClientBuilder newHttpClientBuilder()
Returns a newHttpClientBuilderto create a client with tracing configured.
-
-