Class OkHttpInstrumenterFactory

java.lang.Object
io.opentelemetry.instrumentation.okhttp.v3_0.internal.OkHttpInstrumenterFactory

public final class OkHttpInstrumenterFactory extends Object
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<okhttp3.Request,okhttp3.Response>
    create(io.opentelemetry.api.OpenTelemetry openTelemetry, Consumer<io.opentelemetry.instrumentation.api.instrumenter.http.HttpClientAttributesExtractorBuilder<okhttp3.Request,okhttp3.Response>> extractorConfigurer, List<io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<okhttp3.Request,okhttp3.Response>> additionalAttributesExtractors, boolean emitExperimentalHttpClientMetrics)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • create

      public static io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<okhttp3.Request,okhttp3.Response> create(io.opentelemetry.api.OpenTelemetry openTelemetry, Consumer<io.opentelemetry.instrumentation.api.instrumenter.http.HttpClientAttributesExtractorBuilder<okhttp3.Request,okhttp3.Response>> extractorConfigurer, List<io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<okhttp3.Request,okhttp3.Response>> additionalAttributesExtractors, boolean emitExperimentalHttpClientMetrics)