Class NettyClientInstrumenterFactory
java.lang.Object
io.opentelemetry.instrumentation.netty.v4.common.internal.client.NettyClientInstrumenterFactory
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Constructor Summary
ConstructorsConstructorDescriptionNettyClientInstrumenterFactory(io.opentelemetry.api.OpenTelemetry openTelemetry, String instrumentationName, NettyConnectionInstrumentationFlag connectionTelemetryState, NettyConnectionInstrumentationFlag sslTelemetryState, io.opentelemetry.instrumentation.api.instrumenter.net.PeerServiceResolver peerServiceResolver, boolean emitExperimentalHttpClientMetrics) -
Method Summary
Modifier and TypeMethodDescriptionio.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)
-
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
-
createSslInstrumenter
-