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, boolean connectionTelemetryEnabled, boolean sslTelemetryEnabled, Map<String,String> peerServiceMapping)
  • Method Details

    • createHttpInstrumenter

      public io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<HttpRequestAndChannel,io.netty.handler.codec.http.HttpResponse> createHttpInstrumenter(List<String> capturedRequestHeaders, List<String> capturedResponseHeaders, List<io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<HttpRequestAndChannel,io.netty.handler.codec.http.HttpResponse>> additionalHttpAttributeExtractors)
    • createConnectionInstrumenter

      public NettyConnectionInstrumenter createConnectionInstrumenter()
    • createSslInstrumenter

      public NettySslInstrumenter createSslInstrumenter()