Class InetSocketAddressNetAttributesExtractor<REQUEST,RESPONSE>
- java.lang.Object
-
- io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<REQUEST,RESPONSE>
-
- io.opentelemetry.instrumentation.api.instrumenter.NetAttributesExtractor<REQUEST,RESPONSE>
-
- io.opentelemetry.instrumentation.api.instrumenter.InetSocketAddressNetAttributesExtractor<REQUEST,RESPONSE>
-
public abstract class InetSocketAddressNetAttributesExtractor<REQUEST,RESPONSE> extends NetAttributesExtractor<REQUEST,RESPONSE>
Extractor of Network attributes from aInetSocketAddress. Most network libraries will provide access to aInetSocketAddressso this is a convenient alternative toNetAttributesExtractor. There is no meaning to implement both in the same instrumentation.