Class NettyServerInstrumenterFactory

java.lang.Object
io.opentelemetry.instrumentation.netty.v4.common.internal.server.NettyServerInstrumenterFactory

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

    • create

      public static io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<HttpRequestAndChannel,io.netty.handler.codec.http.HttpResponse> create(io.opentelemetry.api.OpenTelemetry openTelemetry, String instrumentationName, Consumer<io.opentelemetry.instrumentation.api.instrumenter.http.HttpServerAttributesExtractorBuilder<HttpRequestAndChannel,io.netty.handler.codec.http.HttpResponse>> extractorConfigurer, Consumer<io.opentelemetry.instrumentation.api.instrumenter.http.HttpSpanNameExtractorBuilder<HttpRequestAndChannel>> spanNameExtractorConfigurer, Consumer<io.opentelemetry.instrumentation.api.instrumenter.http.HttpServerRouteBuilder<HttpRequestAndChannel>> httpServerRouteConfigurer, boolean emitExperimentalHttpServerMetrics)