Class ConnectionErrorSpanInterceptor
java.lang.Object
io.opentelemetry.instrumentation.okhttp.v3_0.internal.ConnectionErrorSpanInterceptor
- All Implemented Interfaces:
okhttp3.Interceptor
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Nested Class Summary
Nested classes/interfaces inherited from interface okhttp3.Interceptor
okhttp3.Interceptor.Chain -
Constructor Summary
ConstructorsConstructorDescriptionConnectionErrorSpanInterceptor(io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<okhttp3.Request, okhttp3.Response> instrumenter) -
Method Summary
-
Constructor Details
-
ConnectionErrorSpanInterceptor
public ConnectionErrorSpanInterceptor(io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<okhttp3.Request, okhttp3.Response> instrumenter)
-
-
Method Details
-
intercept
- Specified by:
interceptin interfaceokhttp3.Interceptor- Throws:
IOException
-