Class NettyClientInstrumenterFactory

java.lang.Object
io.opentelemetry.instrumentation.netty.v4.common.internal.client.NettyClientInstrumenterFactory

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

    • NettyClientInstrumenterFactory

      public NettyClientInstrumenterFactory(io.opentelemetry.api.OpenTelemetry openTelemetry, String instrumentationName, NettyConnectionInstrumentationFlag connectionTelemetryState, NettyConnectionInstrumentationFlag sslTelemetryState, io.opentelemetry.instrumentation.api.instrumenter.net.PeerServiceResolver peerServiceResolver, boolean emitExperimentalHttpClientMetrics)
  • Method Details

    • createHttpInstrumenter

      public io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<HttpRequestAndChannel,io.netty.handler.codec.http.HttpResponse> createHttpInstrumenter(Consumer<io.opentelemetry.instrumentation.api.instrumenter.http.HttpClientAttributesExtractorBuilder<HttpRequestAndChannel,io.netty.handler.codec.http.HttpResponse>> extractorConfigurer, Consumer<io.opentelemetry.instrumentation.api.instrumenter.http.HttpSpanNameExtractorBuilder<HttpRequestAndChannel>> spanNameExtractorConfigurer, List<io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<HttpRequestAndChannel,io.netty.handler.codec.http.HttpResponse>> additionalHttpAttributeExtractors)
    • createConnectionInstrumenter

      public NettyConnectionInstrumenter createConnectionInstrumenter()
    • createSslInstrumenter

      public NettySslInstrumenter createSslInstrumenter()