Index
All Classes and Interfaces|All Packages
A
- addAttributesExtractor(AttributesExtractor<Interceptor.Chain, 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<Interceptor.Chain, Response>) - Constructor for class io.opentelemetry.instrumentation.okhttp.v3_0.internal.ConnectionErrorSpanInterceptor
- create(OpenTelemetry) - Static method in class io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpClientInstrumenterBuilderFactory
- create(OpenTelemetry) - Static method in class io.opentelemetry.instrumentation.okhttp.v3_0.OkHttpTelemetry
-
Returns a new
OkHttpTelemetryconfigured with the givenOpenTelemetry.
E
- Experimental - Class in io.opentelemetry.instrumentation.okhttp.v3_0.internal
-
This class is internal and experimental.
G
- getHttpRequestHeader(Interceptor.Chain, String) - Method in enum io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpAttributesGetter
- getHttpRequestMethod(Interceptor.Chain) - Method in enum io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpAttributesGetter
- getHttpResponseHeader(Interceptor.Chain, Response, String) - Method in enum io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpAttributesGetter
- getHttpResponseStatusCode(Interceptor.Chain, Response, Throwable) - Method in enum io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpAttributesGetter
- getNetworkPeerInetSocketAddress(Interceptor.Chain, Response) - Method in enum io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpAttributesGetter
- getNetworkProtocolName(Interceptor.Chain, Response) - Method in enum io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpAttributesGetter
- getNetworkProtocolVersion(Interceptor.Chain, Response) - Method in enum io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpAttributesGetter
- getServerAddress(Interceptor.Chain) - Method in enum io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpAttributesGetter
- getServerPort(Interceptor.Chain) - Method in enum io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpAttributesGetter
- getUrlFull(Interceptor.Chain) - 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
- internalSetEmitExperimentalTelemetry(BiConsumer<OkHttpTelemetryBuilder, Boolean>) - Static method in class io.opentelemetry.instrumentation.okhttp.v3_0.internal.Experimental
- 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.
O
- OkHttpAttributesGetter - Enum in io.opentelemetry.instrumentation.okhttp.v3_0.internal
-
This class is internal and is hence not for public use.
- OkHttpClientInstrumenterBuilderFactory - 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(Collection<String>) - Method in class io.opentelemetry.instrumentation.okhttp.v3_0.OkHttpTelemetryBuilder
-
Configures the HTTP request headers that will be captured as span attributes.
- setCapturedResponseHeaders(Collection<String>) - Method in class io.opentelemetry.instrumentation.okhttp.v3_0.OkHttpTelemetryBuilder
-
Configures the HTTP response headers that will be captured as span attributes.
- setEmitExperimentalTelemetry(OkHttpTelemetryBuilder, boolean) - Static method in class io.opentelemetry.instrumentation.okhttp.v3_0.internal.Experimental
- setKnownMethods(Collection<String>) - Method in class io.opentelemetry.instrumentation.okhttp.v3_0.OkHttpTelemetryBuilder
-
Configures the instrumentation to recognize an alternative set of HTTP request methods.
- setSpanNameExtractor(UnaryOperator<SpanNameExtractor<Interceptor.Chain>>) - Method in class io.opentelemetry.instrumentation.okhttp.v3_0.OkHttpTelemetryBuilder
-
Deprecated.
- setSpanNameExtractorCustomizer(UnaryOperator<SpanNameExtractor<Interceptor.Chain>>) - Method in class io.opentelemetry.instrumentation.okhttp.v3_0.OkHttpTelemetryBuilder
-
Sets a customizer that receives the default
SpanNameExtractorand returns a customized one.
T
- TracingInterceptor - Class in io.opentelemetry.instrumentation.okhttp.v3_0.internal
-
This class is internal and is hence not for public use.
- TracingInterceptor(Instrumenter<Interceptor.Chain, 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
OkHttpTelemetryBuilder.setSpanNameExtractorCustomizer(UnaryOperator)instead.