Class GrpcTracingServerInterceptor.GrpcServerNetworkAttributesGetter
java.lang.Object
io.quarkus.opentelemetry.runtime.tracing.intrumentation.grpc.GrpcTracingServerInterceptor.GrpcServerNetworkAttributesGetter
- All Implemented Interfaces:
io.opentelemetry.instrumentation.api.semconv.network.NetworkAttributesGetter<GrpcRequest,,io.grpc.Status> io.opentelemetry.instrumentation.api.semconv.network.ServerAttributesGetter<GrpcRequest>
- Enclosing class:
GrpcTracingServerInterceptor
static class GrpcTracingServerInterceptor.GrpcServerNetworkAttributesGetter
extends Object
implements io.opentelemetry.instrumentation.api.semconv.network.NetworkAttributesGetter<GrpcRequest,io.grpc.Status>, io.opentelemetry.instrumentation.api.semconv.network.ServerAttributesGetter<GrpcRequest>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNetworkLocalInetSocketAddress(GrpcRequest grpcRequest, io.grpc.Status status) getNetworkPeerInetSocketAddress(GrpcRequest request, io.grpc.Status status) getServerAddress(GrpcRequest grpcRequest) getServerPort(GrpcRequest grpcRequest) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.opentelemetry.instrumentation.api.semconv.network.NetworkAttributesGetter
getNetworkLocalAddress, getNetworkLocalPort, getNetworkPeerAddress, getNetworkPeerPort, getNetworkProtocolName, getNetworkProtocolVersion, getNetworkTransport, getNetworkType
-
Constructor Details
-
GrpcServerNetworkAttributesGetter
GrpcServerNetworkAttributesGetter()
-
-
Method Details
-
getServerAddress
- Specified by:
getServerAddressin interfaceio.opentelemetry.instrumentation.api.semconv.network.ServerAttributesGetter<GrpcRequest>
-
getServerPort
- Specified by:
getServerPortin interfaceio.opentelemetry.instrumentation.api.semconv.network.ServerAttributesGetter<GrpcRequest>
-
getNetworkLocalInetSocketAddress
public InetSocketAddress getNetworkLocalInetSocketAddress(GrpcRequest grpcRequest, @Nullable io.grpc.Status status) - Specified by:
getNetworkLocalInetSocketAddressin interfaceio.opentelemetry.instrumentation.api.semconv.network.NetworkAttributesGetter<GrpcRequest,io.grpc.Status>
-
getNetworkPeerInetSocketAddress
public InetSocketAddress getNetworkPeerInetSocketAddress(GrpcRequest request, @Nullable io.grpc.Status status) - Specified by:
getNetworkPeerInetSocketAddressin interfaceio.opentelemetry.instrumentation.api.semconv.network.NetworkAttributesGetter<GrpcRequest,io.grpc.Status>
-