Index
All Classes and Interfaces|All Packages
A
- addAttributesExtractor(AttributesExtractor<Request, Response>) - Method in class io.opentelemetry.instrumentation.okhttp.v3_0.OkHttpTelemetryBuilder
-
Adds an additional
AttributesExtractorto invoke to set attributes to instrumented items.
B
- build() - Method in class io.opentelemetry.instrumentation.okhttp.v3_0.OkHttpTelemetryBuilder
-
Returns a new
OkHttpTelemetrywith the settings of thisOkHttpTelemetryBuilder. - builder(OpenTelemetry) - Static method in class io.opentelemetry.instrumentation.okhttp.v3_0.OkHttpTelemetry
-
Returns a new
OkHttpTelemetryBuilderconfigured with the givenOpenTelemetry.
C
- ConnectionErrorSpanInterceptor - Class in io.opentelemetry.instrumentation.okhttp.v3_0.internal
-
This class is internal and is hence not for public use.
- ConnectionErrorSpanInterceptor(Instrumenter<Request, Response>) - Constructor for class io.opentelemetry.instrumentation.okhttp.v3_0.internal.ConnectionErrorSpanInterceptor
- create(OpenTelemetry) - Static method in class io.opentelemetry.instrumentation.okhttp.v3_0.OkHttpTelemetry
-
Returns a new
OkHttpTelemetryconfigured with the givenOpenTelemetry. - create(OpenTelemetry, Consumer<HttpClientAttributesExtractorBuilder<Request, Response>>, List<AttributesExtractor<Request, Response>>, boolean) - Static method in class io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpInstrumenterFactory
G
- getHttpRequestHeader(Request, String) - Method in enum io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpAttributesGetter
- getHttpRequestMethod(Request) - Method in enum io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpAttributesGetter
- getHttpResponseHeader(Request, Response, String) - Method in enum io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpAttributesGetter
- getHttpResponseStatusCode(Request, Response, Throwable) - Method in enum io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpAttributesGetter
- getNetworkProtocolName(Request, Response) - Method in enum io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpAttributesGetter
- getNetworkProtocolVersion(Request, Response) - Method in enum io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpAttributesGetter
- getServerAddress(Request) - Method in enum io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpAttributesGetter
- getServerPort(Request) - Method in enum io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpAttributesGetter
- getUrlFull(Request) - Method in enum io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpAttributesGetter
I
- INSTANCE - Enum constant in enum io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpAttributesGetter
- intercept(Interceptor.Chain) - Method in class io.opentelemetry.instrumentation.okhttp.v3_0.internal.ConnectionErrorSpanInterceptor
- intercept(Interceptor.Chain) - Method in class io.opentelemetry.instrumentation.okhttp.v3_0.internal.TracingInterceptor
- io.opentelemetry.instrumentation.okhttp.v3_0 - package io.opentelemetry.instrumentation.okhttp.v3_0
- io.opentelemetry.instrumentation.okhttp.v3_0.internal - package io.opentelemetry.instrumentation.okhttp.v3_0.internal
N
- newCallFactory(OkHttpClient) - Method in class io.opentelemetry.instrumentation.okhttp.v3_0.OkHttpTelemetry
-
Construct a new OpenTelemetry tracing-enabled
Call.Factoryusing the providedOkHttpClientinstance. - newInterceptor() - Method in class io.opentelemetry.instrumentation.okhttp.v3_0.OkHttpTelemetry
-
Deprecated.
O
- OkHttpAttributesGetter - Enum in io.opentelemetry.instrumentation.okhttp.v3_0.internal
-
This class is internal and is hence not for public use.
- OkHttpInstrumenterFactory - Class in io.opentelemetry.instrumentation.okhttp.v3_0.internal
-
This class is internal and is hence not for public use.
- OkHttpTelemetry - Class in io.opentelemetry.instrumentation.okhttp.v3_0
-
Entrypoint for instrumenting OkHttp clients.
- OkHttpTelemetryBuilder - Class in io.opentelemetry.instrumentation.okhttp.v3_0
-
A builder of
OkHttpTelemetry.
S
- setCapturedRequestHeaders(List<String>) - Method in class io.opentelemetry.instrumentation.okhttp.v3_0.OkHttpTelemetryBuilder
-
Configures the HTTP request headers that will be captured as span attributes.
- setCapturedResponseHeaders(List<String>) - Method in class io.opentelemetry.instrumentation.okhttp.v3_0.OkHttpTelemetryBuilder
-
Configures the HTTP response headers that will be captured as span attributes.
- setEmitExperimentalHttpClientMetrics(boolean) - Method in class io.opentelemetry.instrumentation.okhttp.v3_0.OkHttpTelemetryBuilder
-
Configures the instrumentation to emit experimental HTTP client metrics.
- setKnownMethods(Set<String>) - Method in class io.opentelemetry.instrumentation.okhttp.v3_0.OkHttpTelemetryBuilder
-
Configures the instrumentation to recognize an alternative set of HTTP request methods.
T
- TracingInterceptor - Class in io.opentelemetry.instrumentation.okhttp.v3_0.internal
-
This class is internal and is hence not for public use.
- TracingInterceptor(Instrumenter<Request, Response>, ContextPropagators) - Constructor for class io.opentelemetry.instrumentation.okhttp.v3_0.internal.TracingInterceptor
V
- valueOf(String) - Static method in enum io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpAttributesGetter
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpAttributesGetter
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes and Interfaces|All Packages
OkHttpTelemetry.newCallFactory(OkHttpClient)method instead.