Class GrpcNetServerAttributesGetter
java.lang.Object
io.opentelemetry.instrumentation.api.instrumenter.net.InetSocketAddressNetServerAttributesGetter<GrpcRequest>
io.opentelemetry.instrumentation.grpc.v1_6.internal.GrpcNetServerAttributesGetter
- All Implemented Interfaces:
io.opentelemetry.instrumentation.api.instrumenter.net.NetServerAttributesGetter<GrpcRequest>
public final class GrpcNetServerAttributesGetter
extends io.opentelemetry.instrumentation.api.instrumenter.net.InetSocketAddressNetServerAttributesGetter<GrpcRequest>
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHostName(GrpcRequest grpcRequest) getHostPort(GrpcRequest grpcRequest) protected InetSocketAddressgetHostSocketAddress(GrpcRequest grpcRequest) protected InetSocketAddressgetPeerSocketAddress(GrpcRequest request) getTransport(GrpcRequest request) Methods inherited from class io.opentelemetry.instrumentation.api.instrumenter.net.InetSocketAddressNetServerAttributesGetter
getSockFamily, getSockHostAddr, getSockHostPort, getSockPeerAddr, getSockPeerPortMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.opentelemetry.instrumentation.api.instrumenter.net.NetServerAttributesGetter
hostName, hostPort, sockFamily, sockHostAddr, sockHostPort, sockPeerAddr, sockPeerPort, transport
-
Constructor Details
-
GrpcNetServerAttributesGetter
public GrpcNetServerAttributesGetter()
-
-
Method Details
-
getTransport
-
getHostName
-
getHostPort
-
getPeerSocketAddress
- Specified by:
getPeerSocketAddressin classio.opentelemetry.instrumentation.api.instrumenter.net.InetSocketAddressNetServerAttributesGetter<GrpcRequest>
-
getHostSocketAddress
- Specified by:
getHostSocketAddressin classio.opentelemetry.instrumentation.api.instrumenter.net.InetSocketAddressNetServerAttributesGetter<GrpcRequest>
-