Class InetSocketAddressNetClientAttributesGetter<REQUEST,RESPONSE>

java.lang.Object
io.opentelemetry.instrumentation.api.instrumenter.net.InetSocketAddressNetClientAttributesGetter<REQUEST,RESPONSE>
All Implemented Interfaces:
NetClientAttributesGetter<REQUEST,RESPONSE>

public abstract class InetSocketAddressNetClientAttributesGetter<REQUEST,RESPONSE> extends Object implements NetClientAttributesGetter<REQUEST,RESPONSE>
Extractor of Network attributes from a InetSocketAddress. Most network libraries will provide access to a InetSocketAddress so this is a convenient alternative to NetClientAttributesExtractor. There is no meaning to implement both in the same instrumentation.